RStudio/Batch
From ScientificComputing
If you would like to run an R script that you created within RStudio, then please save the script and run it as R job in batch mode. Running your R scripts directly on the login node would overload them, as they are shared among all cluster users.