clapply: Use mclapply conditional on not being in RStudio

View source: R/HelperFunctions.R

clapplyR Documentation

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

X

vector

FUN

function to be applied to the elements of X

...

optional arguments passed to FUN

mc.cores

number of cores to use


jkrijthe/RSSL documentation built on Jan. 13, 2024, 1:56 a.m.