registerParallel: Set up a parallel computing front end

Description Usage Arguments Details Value Author(s) See Also

Description

This function automatically sets up a cluster in a consistent way way for different parallel computing packages.

Usage

1
registerParallel(pckg.parallel = "doMC", max.cores = 0)

Arguments

pckg.parallel

character string: Package to use for parallel computing. Has to be (for the time beeing) one of doMC or doParallel.

max.cores

integer: amount of cores to use

Details

registerParallel sets up a cluster object of the selected package. In principle, this is a simple wrapper around the cluster creating functions of these packages that provides a unified usage.

Value

For "doMC": the amount of cores and for doParallel: the cluster object created.

Author(s)

Jannis v. Buttlar

See Also

foreach, registerDoMC


JBTools documentation built on May 2, 2019, 8:20 a.m.