View source: R/HelperFunctions.R
clapply | R Documentation |
Use mclapply conditional on not being in RStudio
clapply(X, FUN, ..., mc.cores = getOption("mc.cores", 2L))
X |
vector |
FUN |
function to be applied to the elements of X |
... |
optional arguments passed to FUN |
mc.cores |
number of cores to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.