How to change version of R in Rstudio to specicf user only?

rstudio
rstudioserver

#1

Hi,

I have free version of Rstudio installed on Linux machine. In the file /etc/rstudio/rserver.conf I have defination of the R version to use:

rsession-which-r=/path2R/bin/R

I would like to change the R version in Rstudio only to specific user.
I tried to follow the link: https://support.rstudio.com/hc/en-us/articles/200486138-Changing-R-versions-for-RStudio-desktop. in ~/.profile I set the variable RSTUDIO_WHICH_R to point to the R version I want to use, but it still take the R version in the server configuration.

Is it can be done in the free version of R studio? How?