setLapplyAlias: To make parallel processing a possibility but not required, I...

Description Usage Arguments Value

View source: R/utility.R

Description

To make parallel processing a possibility but not required, I use an lapply alias which can point at either the base lapply (for no multicore), or it can point to mclapply, and set the options for the number of cores (what mclapply uses). With no argument given, returns intead the number of cpus currently selected.

Usage

1
setLapplyAlias(cores = 0)

Arguments

cores

Number of cpus

Value

None


nsheff/LOLA documentation built on Sept. 8, 2020, 11:50 a.m.