1

my R version on the zsh shell is the 3.6 that is different respect to the one of RStudio that is the 4. In fact, using the Jupyter notebook, the R version is the one used by conda. In fact, to install an r package I must run conda install -c r r-package_name. So, this is very annoying. How can I link the R version of Rscript of the shell with the one of the Rstudio?

Will
  • 1,619
  • 5
  • 23
  • Oops. Think I misread the question at first. You want to access the system- or user-level R installation from shell. Have you tried deactivating the Conda environment (`conda deactivate`) before running your script? That should restore the default precedents, assuming you are not manually adding Conda's `bin/` to PATH. – merv Mar 21 '21 at 22:45
  • @merv I want to use just one versione of R, the one used by R studio. I should link this R version with conda; because it is manage the notebook on Mac – Will Mar 22 '21 at 15:44
  • You mean like this?: https://stackoverflow.com/a/63210058/570918 – merv Mar 22 '21 at 21:11

0 Answers0