The mclapply.R script presents an example of parallel execution of R code using the parallel package.
This code uses more than one processor and therefore should not be executed interactively on the login nodes.
Submit R job:
rjob script file requests 8 slots for parallel execution of R code. [scc1 ] qsub rjob
Note: Research Computing Services (RCS) example programs are provided
"as is" without any warranty of any kind. The user assumes the entire risk of
quality, performance, and repair of any defects. You are encouraged to copy
and modify any of the given examples for your own use.