powered by
Registers a parallel backend for multi core processing. The number of cores will be detected automatically, unless specified otherwise.
registerParallelBackend(cores = NULL, logical = TRUE)
the number of cores to use for multi core processing
whether to consider logical or physical cores
# NOT RUN { # detect logical cores automatically registerParallelBackend() # use four physical cores numCores <- 4 registerParallelBackend(numCores, logical = FALSE) # }
Run the code above in your browser using DataLab