4.1 Restarting RStudio Session
4.1.1 Within RStudio
Session > Restart R (Ctrl + Shift + F10)
4.1.2 From the terminal
When RStudio locks up and you need to restart it. Note you will need to be on the VPN if you are not on the VT wireless.
- Open a terminal
ssh
into lightfoot:ssh pid@lightfoot.vbi.vt.edu
- Look for your rstudio process by runing:
ps aux | grep <YOUR PID> | grep rstudio
> ps aux | grep chend | grep rstudio
chend 163630 0.3 0.0 743120 100936 ? Sl 09:51 0:04 /usr/lib/rstudio-server/bin/rsession -u chend --launcher-token 59FDC2A5
chend 182064 0.0 0.0 112708 968 pts/0 S+ 10:14 0:00 grep --color=auto rstudio
- Note which process rstudio is running on by looking at the 2nd column in the output (next to your pid),
in this example the process number is
163630
- Stop the process:
kill -9 <Process number here>