See: /wiki/spaces/BeartoothI/pages/1905721355 Goal: Detail how to use an R Conda Environment within RStudio.
...
Table of Contents | ||
---|---|---|
|
...
Can We?
Note |
---|
As detailed in this post: Should/can you run R Studio in Conda? Yes, you can launch RStudio to use R that was installed inside a conda environment. But Posit does not officially support this use case, so it might require some tinkering to get it working on your machine. |
Note |
---|
The process that will be detailed works as of time of writing this workshop. We will monitor this process - but if this doesn’t work then please contact ARCC. |
...
General Process
We will use the Conda Environment that we created in: Basic R Conda Environment
Process:
Access OnDemand.
Start an Interactive Desktop.
Open a terminal.
From the command-line set:
Code Block # Using the path to your conda environment. # In this case: /project/arcc/software/conda-envs/r_4.3.3_env export PATH=$PATH:/project/arcc/software/conda-envs/r_4.3.3_env/bin/ export RSTUDIO_WHICH_R=/project/arcc/software/conda-envs/r_4.3.3_env/lib/R/bin/R
Load
rstudio
.Start
rstudio
from the command-line.
...
previous section |
next section |