Index of /examples/r/examples/par_mclapply

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [   ] rjob 19-Feb-2014 22:02 202 [   ] mclapply.R 19-Feb-2014 22:06 1.1K

Execute R code in parallel using parallel package

The mclapply.R script presents an example of parallel execution of R code using the parallel package.

Interactive execution:

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
Users who are members of any Medical Campus projects must also include their project group name:
scc1% qsub -P scv rjob

Contact Information:

Katia Oleinik: koleinik@bu.edu

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.