Learn R Programming

JBTools (version 0.7.2.9)

registerParallel: 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

Value

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.

See Also

foreach, registerDoMC