Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

We will use the Conda Environment that we created in: Basic R Conda Environment

Process:

  1. Access OnDemand.

  2. Start an Interactive Desktop.

  3. Open a terminal.

  4. From the command-line set:

    Code Block
    # Using the path to your conda environment.
    # In this case: /project/arcc<project-name>/software/conda-envs/r_4.3.3_env
    export PATH=$PATH:/project/arcc<project-name>/software/conda-envs/r_4.3.3_env/bin/
    export RSTUDIO_WHICH_R=/project/arcc<project-name>/software/conda-envs/r_4.3.3_env/lib/R/bin/R
  5. Load rstudio.

  6. Start rstudio from the command-line.

...