...
An example single core R job is shown below. Replace <Project> with your project name. Don't include the angle brackets:
Code Block |
---|
#!/bin/bash |
...
#PBS -P <Project> |
...
#PBS -l select=1:ncpus=1:mem=4gb |
...
#PBS -l walltime=4:00:00 |
...
module load R/3.6.0 |
...
cd "${PBS_O_WORKDIR}" |
...
Rscript myscript.R |
Installing R packages
To install additional Libraries
...