Skip to content
Prev 1189 / 2152 Next

multicores, benchmark and windows

You can use functions such as parLapply, clusterApply and clusterApplyLB
from the parallel package on Windows.  Basically all of the snow-derived
functions in parallel will work, and they do a fine job on multicore machines.
It's almost as simple as mclapply:

    library(parallel)
    cl <- makeCluster(3)
    parLapply(cl, 1:3, sqrt)
    stopCluster(cl)

And coming pre-installed with R 2.14.0 is a very nice feature.

- Steve
On Sun, Dec 4, 2011 at 4:22 PM, Christophe Dutang <dutangc at gmail.com> wrote: