Hi,
I have two versions of R installed in my server. one is located at /usr/bin/R
and this is the R that Rstudio uses. I have another R installed in my local dir /home/gorliver/software/R/bin/R
.
I would like set the local R for Rstudio. I have tried:
-
export RSTUDIO_WHICH_R=/home/gorliver/software/R/bin/R
and restart rstudio server. - add
rsession-which-r=/home/gorliver/software/R/bin/R
in/etc/rstudio/rserver.conf
and restart rstudio server. - add below two lines to
/etc/rstudio/r-version
and restart rstudio server.
[*]
r-version = /home/gorliver/software/R/bin/
Unfortunate, none of them works. I wonder what I have missed? Any suggestions are highly appreciated.