RStudio via OnDemand#

Launch RStudio#

  1. Go to OnDemand Login with Tufts SSO.

  2. RStudio Server app is available in Interactive Apps ood-rstudio

  3. Fill the request form with the appropriate amount of resources needed for your work and the version of R needed. Click Launch to launch the session. ood-rstudio-launch

  4. Once the resource for your session is allocated, click Connect to RStudio Server to start. ood-rstudio-connect

  5. When you finished, exit RStudio properly q(), then close the RStudio tab, and go back to the My Interactive Sessions page click Delete to end the session and free up resources for other users.

Debug OnDemand RStudio Pax#

Logs from RStudio could be corrupted sometimes which will cause RStudio not launching from OnDemand. Here are a few things you can try. Make sure all RStudio sessions are deleted before this.

  • Rename the file ~/.local/share/rstudio

$ mv ~/.local/share/rstudio  ~/.local/share/rstudio_bkp

  • Rename the /cluster/home/$USER/.RData

$ mv ~/.RData  ~/.RData_bkp

Now you can try relaunch RStudio. If it’s working properly for you, test out your workflow.

If you get all you need without issues, you can go ahead and delete ~/.local/share/rstudio_bkp and ~/.RData_bkp.

If you have any questions or need additional assistance, feel free to reach out to us at tts-research@tufts.edu.