clapply: Use mclapply conditional on not being in RStudio
Description
Use mclapply conditional on not being in RStudio
Usage
clapply(X, FUN, ..., mc.cores = getOption("mc.cores", 2L))
Arguments
FUN
function to be applied to the elements of X
...
optional arguments passed to FUN