Rcpp test for Stanage HPC at the University of Sheffield.
High performance functions with Rcpp in Advanced R by Hadley Wickham.
Load the R module
module load R
Open the R shell
R
Install dependencies. When asked to create a personal package library, select "yes"
install.packages(c("Rcpp", "RcppParallel"))
Execute the HPC job using the SLURM batch job submission command sbatch
sbatch job.sh
Log files will be written to *.out
files.