Versions Compared

Key

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

...

Connect to O2

Code Block
ssh -Y -L PORT:127.0.0.1:PORT <your_HMS_ID>@o2.hms.harvard.edu

...

Code Block
module load rstudio_launcher/1.0
module load gcc/6.2.0
module load R/4.1.1
module load git/2.9.5

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