bg_mclapply | R Documentation |
Multicore lapply in the background
bg_mclapply(X, FUN, mc.cores = 1, ..., .wait = TRUE, .seed = NULL)
X |
A list. |
FUN |
The function to be applied to each element of |
mc.cores |
Passed to |
... |
Arguments passed to |
.wait |
If |
.seed |
A |
A list of output data.
ans <- bg_mclapply(seq(10), sqrt, mc.cores = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.