registerParallelBackend: registerParallelBackend

Description Usage Arguments Examples

View source: R/Parallel.R

Description

Registers a parallel backend for multi core processing. The number of cores will be detected automatically, unless specified otherwise.

Usage

1

Arguments

cores

the number of cores to use for multi core processing

logical

whether to consider logical or physical cores

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# detect logical cores automatically
registerParallelBackend()

# use four physical cores
numCores <- 4
registerParallelBackend(numCores, logical = FALSE)

## End(Not run)

hxia/plp-git-demo documentation built on March 19, 2021, 1:54 a.m.