bg_mclapply {mrgsim.parallel} | R Documentation |
Multicore lapply in the background
Description
Multicore lapply in the background
Usage
bg_mclapply(X, FUN, mc.cores = 1, ..., .wait = TRUE, .seed = NULL)
Arguments
X |
A list. |
FUN |
The function to be applied to each element of |
mc.cores |
Passed to |
... |
Arguments passed to |
.wait |
If |
.seed |
A |
Value
A list of output data.
Examples
ans <- bg_mclapply(seq(10), sqrt, mc.cores = 2)
[Package mrgsim.parallel version 0.2.1 Index]