Search open search form

RStudio

RStudio is an integrated development environment (IDE) for R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management. The RStudio interface is available via our Open OnDemand web portal

rstudio-server






As RStudio is installed into a non-writable central location you'll need to tell RStudio to install additional packages in your own home directory or other location that is writable to you. For example. 

mkdir -p ~/local/R_libs
vi ~/.Renviron
in that file add the following entry:
R_LIBS_USER=~/local/R_libs
kill and restart all rstudio sessions via Open OnDemand. 
Launch and attempt to install new packages while specifying a install/re-install of all dependencies that are not in the main (write-only) central R distribution.
install.packages("tidyverse", dependencies = TRUE)
To launch RStudio first connect to Open OnDemand from Campus or over Caltech's VPN. Once logged in navigate to Interactive Apps > RStudio Server, enter the hours, cores and gpus required if any then click Launch. Once a node is ready you'll be able to click 'Connect to RStudio Server'