#$ -N sweep #$ -t 1-200 ## ## Parameter sweep array job to run the sweep.R with ## lambda = 0,1,2. ... 199 ## # Add vpkg_require commands after this line: vpkg_require r/3 date "+Start %s" echo "Host $HOSTNAME" let lambda="$SGE_TASK_ID-1" let taskCount=200 # Syntax: Rscript [options] filename.R [arguments] Rscript --vanilla sweep.R $lambda $taskCount date "+Finish %s"