rstudio_manager: launch and manage RStudio servers as HPC jobs
rstudio.py controls the creation, deletion, and listing of RStudio server
sessions for the user.
RStudio is launched from a
custom container
based on the popular
rocker/rstudio
docker image. Various additional system, maths, and compression libraries are
added for enhanced compatibility from the
bioconductor/bioconductor_docker
image, as well as a few extras. To provide some extra initial functionality, the
renv, devtools, rmarkdown, and tidyverse R packages are pre-installed.
Three subcommands are exposed to the user:
-
rstudio startLaunches anRStudioserver session, returning the URL needed to connect. To prevent in-browser conflict between concurrent sessions, jobs are spread across available nodes -
rstudio stopRunsscancelfor a running session or for all active sessions -
rstudio listLists the user's active sessions and their URLs