Using multiple versions of R with RStudio Desktop on Ubuntu

Following by this post I had my solution for RStudio desktop on ubuntu 18:

  1. Install desired R version (in my case it’s R 3.6.0) as explained here

  2. Configure RSTUDIO_WHICH_R environment variable (like here)

  3. This post helped me put together a puzzle:)

Run non-default version via terminal:

> $ export RSTUDIO_WHICH_R=/opt/R/3.6.1/bin/R
> $ rstudio
  1. Run the second one Rstudio this default R version

And here is my demo :slight_smile:

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.