Our organisation is on the verge of migration from RStudio v0.99 with R-3.2 to RStudio v1.1 with R-3.4. The problem is that when you mix and match those, bad (but not terribly serious) things happen: RStudio v.099 + R-3.4 throws a warning that the R graphics engine version 12 is not supported, and so the plots tab is disabled. RStudio v1.1 with R-3.2 asks to update markdown and associated packages when creating new markdown documents. The latter isn't ideal when we're trying to control versions of packages with each R release, and the former is just inconvenient.
We could install RStudio v1.1 into a distinct (versioned) directory e.g. C:/program files/RStudio_v1/... so that's not a big deal.
It seems that RStudio is a little too clever in remembering what version of R it was last using, so if I have both versions of RStudio installed locally, I need to be careful to either CTRL + click launch to select the R version, or check what version is loaded (via the console) when RStudio starts. If you're paying attention when you start RStudio, this isn't a big deal, but I'm concerned for some of my colleagues who might not be aware or paying attention and could end up getting tied in knots over something like this.
So here's are the questions:
-
Is there a way to "hard code" what version of R is used with RStudio on invocation via a command line or shortcut option i.e. without CTRL + click launching?
-
If not, can we remove the configuration setting / appropriate file defining the R version without removing other user settings? i.e. forcing the "CTRL + click launch" action from the command line / shortcut on each invocation?