Using different version of R per user in Rstudio Server -


i using rstudio server (0.98.490) on centos machine, uses default installation in machine older version of r. have newer version of r compiled elsewhere in system. can i, non-root user, tell rstudio use new installation instead of old 1 when start session?

i'm not sure if there peculiarities centos, believe should able change ~/.profile or ~/.bash_profile file include following line: export rstudio_which_r=/path/to/desired/compiled/r.

you can see version of r rstudio running entering which r terminal. export command listed above should change desired build.

these links might help: https://support.rstudio.com/hc/en-us/articles/200486138-using-different-versions-of-r

running newer version of r terminal when older version invoked default

hope helps


Comments