#!/bin/bash -l # Name the job #$ -N parallel_R # Join input and output streams #$ -j y # Request enough time #$ -l h_rt=12:00:00 # Request parallel environment #$ -pe omp 4 # Load module(s) module load R/3.6.0 # Execute the program Rscript par_snowfall.R # Alternatively #R -q --vanilla < par_snowfall.R