change Rstudio R version from outside Rstudio

I changed Rstudio’s R version to a non-default one from Tools-options. Now when I reopen Rstudio, it fails to start. Just a blank window with Rstudio title.
Is there a way to change Rstudio’s R version from outside Rstudio, say a config fi…