Bash R on Oracle Grid Engine (JHPCE)

I recently link posted on submitting Stata jobs to a Linux computing cluster running the Oracle Grid Engine. Here’s a quick post on how to submit a R job. I usually submit a qsub job by writing qsub Scripts/NAME_OF_SCRIPT into terminal. My R scripts use the following naming convention: R<PROJECT>_v<NUM>.sh or R_018v1.sh for a R bash file to run the v1 R script in the 018 project (I explain my project organization in another post).