clapply: Use mclapply conditional on not being in RStudio

Description Usage Arguments

View source: R/HelperFunctions.R

Description

Use mclapply conditional on not being in RStudio

Usage

1
clapply(X, FUN, ..., mc.cores = getOption("mc.cores", 2L))

Arguments

X

vector

FUN

function to be applied to the elements of X

...

optional arguments passed to FUN

mc.cores

number of cores to use


RSSL documentation built on Jan. 13, 2021, 6:30 p.m.