Using Rstudio, it is easy to configure it for different versions of R. You simply navigate to /Tools/Options
and select your preferred version of R.
But is there an easy way to set up a menu (or desktop) shortcut or a command line script to point to different versions of R?
My use case is that I frequently want to run and compare scripts in different versions of R, e.g:
It would be useful to set this up as a single click shortcut, rather than navigating the menus each time.
(I appreciate this may well be better suited for Super User but in my view the answer to this question is more likely to be found here, at StackOverflow.)
What should I do to configure such a shortcut?
Additional information: I am running Windows.
Can't you just hold down control when you click on your desktop shortcut?
From the link you posted:
Note that by holding down the Control key during the launch of RStudio you can cause the R version selection dialog to display at startup.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With