Description Usage Arguments Examples
Registers a parallel backend for multi core processing. The number of cores will be detected automatically, unless specified otherwise.
1 | registerParallelBackend(cores = NULL, logical = TRUE)
|
cores |
the number of cores to use for multi core processing |
logical |
whether to consider logical or physical cores |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.