#!/bin/bash #SBATCH --ntasks=1 cd $SLURM_SUBMIT_DIR mkdir plots/ R --vanilla -f slurm_generate_plots.R --args "plot$SLURM_ARRAY_TASK_ID"