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


sheffien/LOLA documentation built on May 7, 2018, 12:58 a.m.