Rbatchtools
Introduction
"As a successor of the packages BatchJobs and BatchExperiments, batchtools provides a parallel implementation of Map for high performance computing systems managed by schedulers like Slurm, Sun Grid Engine, OpenLava, TORQUE/OpenPBS, Load Sharing Facility (LSF) or Docker Swarm (see the setup section in the vignette)."[1]
One advantage of batchtools is that you can use it within the familiar R-environment, there is no need to learn about job scripts. In addition, it allows simple parallelization for independent tasks.
How to use batchtools
First of all, you need to load a recent R-module (batchtools may not be available in all R-installations on the cluster):
$ module load hpc-env/8.3 $ module load R
Next you start up R, so the following commands are all R-commands (the R-prompt is neglected here for easy cut'n'paste). The package is loaded with:
library(batchtools)
Next we