Including arguments in R CMD BATCH mode | R-bloggers
When you have multiple computers or processors at your disposal and wish to run the same script with different arguments, use the following at the command line (here described for Linux; remove the linebreak, it is just there for display purposes): $ R CM...