PATH RStudio in Linux

Dear friends that use RStudio on GNU/Linux. I would like to link RStudio to an R binary in a directory other than /usr/bin and /usr/local/bin. In my case the binary is at:

[prdm0@prdm0-samsung ~] $ which R
/opt/R/4.0.0/bin/R

I tried to do:

export RSTUDIO_WHICH_R=/opt/R/4.0.0/bin/R

unsuccessfully. I also tried to add the above code to the ~/.profile file but also without success.

Any suggestion?

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