Monday, April 2, 2012

doMC: Foreach parallel adaptor for the multicore package

doMC: Foreach parallel adaptor for the multicore package


The doMC package is a “parallel backend” for the foreach package. It provides a mechanism needed
to execute foreach loops in parallel. The foreach package must be used in conjunction with a
package such as doMC in order to execute code in parallel. The user must register a parallel backend
to use, otherwise foreach will execute tasks sequentially, even when the %dopar% operator is used.1

No comments: