Using Multiple Versions of R in RStudio Pro
Posit Workbench allows you to select from multiple versions of R installed on the server from within RStudio Pro. Access to multiple versions of R can be helpful for the following tasks:
- Managing upgrades of R
- Testing code on a variety of R versions
- Supporting projects that depend on various versions of R
You can select different R versions from the drop-down list at the top-right of the browser window.
The drop-down menu will allow for the selection of the R version.
Each session will start with the R version specified as default by your server administrator. You can change the default R version for new sessions by changing the Global Options accessible from the top menubar under Tools.
In most cases, projects will be associated with only one version of R. By default, new sessions in projects will be restored to the last used R version. If you want to disable this feature, clear Restore last used R version for projects in the global options.