These instructions are for RStudio which you can also run on your desktop or laptop. ( These instructions are not for Rstudio Server.)
These instructions are for users who are connecting to hyak from a mac or linux machine. For mac users, you will have to first install X11 XQuartz https://www.xquartz.org/ .
(These instructions may also work for Windows users who have installed X11 software.)
Below abc is your userid and xyz is your hyak group.
For interactive use of RStudio:
ssh -X email@example.com
To get an interactive node for 2 hours:
srun -p xyz -A xyz --time=2:00:00 --mem=100G --pty /bin/bash
module load r_3.1.3_rstudio
Now you can run Rstudio on the hyak compute node and the GUI will show up on your desktop or laptop machine.