Last data update: 2014.03.03

R: Set up a parallel computing front end
registerParallelR Documentation

Set up a parallel computing front end

Description

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

Usage

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

Results