-
Notifications
You must be signed in to change notification settings - Fork 0
Using latest RStudio from conda environment
codeanticode edited this page Jun 5, 2023
·
1 revision
Conda includes an outdated package of RStudio. The best solution is to download RStudio Desktop from
https://posit.co/download/rstudio-desktop/
Install in in the Applications folder, and then create a simple shell script in anaconda/minconda bin folder that opens the executable in the RStudio app package.
For example:
echo "/Applications/RStudio.app/Contents/MacOS/RStudio" >> /Users/user/anaconda3/envs/renv/bin/rstudio
chmod +x /Users/user/anaconda3/envs/renv/bin/rstudio
Replace anaconda3 with miniconda3 in case of using Miniconda instead of Anaconda.