Using Rstudio, it’s easy to configure it for different versions of R. You simply go to /Tools/Optionsand choose your preferred version of R.
But is there an easy way to customize a menu (or desktop) shortcut or script command line to point to different versions of R?
My use case is that I often want to run and compare scripts in different versions of R, for example:
- R-2.15.3
- R-devel (R-3.0.0)
It would be useful to set this as a one-click shortcut, rather than navigate through the menu every time.
(I think this is best suited for Superuser , but in my opinion, the answer to this question is most likely to be found here in StackOverflow.)
What do I need to do to set up such a shortcut?
Additional Information: I am running Windows.
source
share