Index of /examples/r/examples/par_domc

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [   ] rjob 06-Jun-2016 11:46 311 [   ] domc_rng.R 06-Dec-2016 23:09 503 [   ] domc_list.R 11-Jun-2014 17:57 1.8K [   ] domc.R 29-Sep-2017 15:50 1.2K

Execute R code in parallel using doMC package

domc.R script present an example of parallel execution of R code using the "doMC" 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:

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.