parallelCheck: Parallel availability check

Description Usage Arguments Details Value Author(s) See Also

View source: R/parallelCheck.R

Description

Check availability of parallel package and set parameters

Usage

1
parallelCheck(parallel, max.ncores = 16, ncores = NULL)

Arguments

parallel

Logical, should parallel execution be used?

ncores

number of cores used in parallel computation, self-selected number of cores is used when is.null(ncpus) (the default).

maxcores

upper bound for self-selected number of cores

Details

The function checks if package parallel is available. Then, it is checked whether the FORK nodes can be initialized

Value

A list with two elements:

Author(s)

J. Bedia, with contributions by J. Bhend and M. de Felice

See Also

Other parallel.helpers: selectPar.pplyFun


SantanderMetGroup/transformeR documentation built on April 1, 2020, 5:42 a.m.