...
Code Block |
---|
# Create a library on your HOME ("~") directory mkdir ~/R-4.01.1 # Create an .Renviron file echo 'R_LIBS_USER="~/R-4.01.1"'> $HOME/.Renviron |
Running RStudio on O2
...
Code Block |
---|
module load rstudio_launcher/1.0 module load gcc/6.2.0 module load R/4.01.1 |
Launch RStudio
Code Block |
---|
# $PORT is the number used while connecting to O2 srun -t 0-2:00 --pty -p interactive -c 1 --mem=2G --x11 --tunnel $PORT:$PORT RStudio_launcher.sh $PORT |
...