Skip to content
An example OnDemand interactive RStudio app using Singularity
Branch: master
Clone or download

Batch Connect - Example RStudio Server

GitHub Release GitHub License

An example Batch Connect app that launches an RStudio server within a batch job.


This Batch Connect app requires the following software be installed on the compute nodes that the batch job is intended to run on (NOT the OnDemand node):

All Batch Connect apps also require the following on the compute nodes:

Optional software:

  • Lmod 6.0.1+ or any other module purge and module load <modules> based CLI used to load appropriate environments within the batch job before launching the RStudio server.


If you have not already be sure to start with the section about setting up your system for Batch Connect development. Detailed installation instructions for this app are included in the OnDemand documentation.

Note that this example assumes that the compute host is CentOS 7. In order to ensure correct behavior it is important that the guest is built from the same OS as the host (type and major version), this is because most of the host's system directories are bind-mounted into the guest.


  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
You can’t perform that action at this time.