Versions Compared

Key

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

...

R is available via Jupyterlab by activating the environment for it from your preferred conda module.   Your bash shell should be setup with "conda init bash" as above.  Then append via the module anaconda_Rcpu.   Append to your .bashrc, the line to activate load the R environment.  We've provided a conda environment at /sw/external/python/anaconda3_Rcpu that you should be able to use with any of anaconda3_<cpu,gpu,mi100>.  It module.   It will run R on the cpu cores (not gpu enabled).

Code Block
titledelta provided R environment
(/sw/external/python/anaconda3_Rcpu)$ tail -4 .bashrc
# <<< conda initialize <<<

conda activate /sw/external/python/
module load anaconda3_Rcpu

(/sw/external/python/anaconda3_Rcpu) $

After modifying your .bashrc and getting a new shell, your login prompt should reflect that you are in an R python within the anaconda3_Rcpu environment, R will be in your $PATH, and starting Jupyterlab from the OpenOnDemand interface will automatically offer you the R options with the Launcher.

...