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.
OnDemand
RStudio can be run in a browser as OnDemand service. This is the most straighforward and simplest way.
Kubernetes
Another option is to use Kubernetes service, which offers RStudio as
Remote desktop
Using Remote desktop, RStudio can be also run from a module or as a Singularity image.
This option is recommended to advanced users or as a fallback option in case OnDemand and/or Kubernetes service are down.
Module:
Singularity image:
cd /cvmfs/singularity.metacentrum.cz/RStudio/
qsub /cvmfs/singularity.metacentrum.cz/RStudio/RStudio4.1.2_InteractiveJob.sh
The job will send you email with URL and credentials to login. See header of the file for requested resources, version of R etc.
Note
The end of session in web browser does not quit the job. For deleteing the job use command qdel JOBID
Read more here: Source link