Does RStudio allow me to toggle between R versions? (I'm running RStudio Version 1.1.383)
I don't see anything in preferences->general or preferences->code
Or, can I specify an R version from the command line at startup?
I'm trying to resolve an incompatibility problem:
install.packages("rethinking")
Installing package into ‘/Users/rcphelps/Library/R/3.3/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘rethinking’ is not available (for R version 3.3.3)
Toggling between different R versions is a part of RStudio Server Pro, so not sure how easy it is and for sure not possible for RStudio out of the box.
For RStudio Desktop, you can choose the version of R to some extent (it works differently in different OSes), but it’s more involved than a toggle. See here: