registerCores: registerCores

Description Usage Arguments Details Author(s)

View source: R/registerCores.R


The registerCores function is used to register the multicore parallel backend via either the doMC or doSNOW package.





The number of cores to use for parallel execution. If not specified, the number of cores is set to the number of cores of your machine.


The multicore functionality, originally written by Simon Urbanek and subsumed in the parallel package in R 2.14.0, provides functions for parallel execution of R code on machines with multiple cores or processors, using the system fork call to spawn copies of the current process. The multicore functionality, and therefore registerCores, should not be used in a GUI environment, because multiple processes then share the same GUI.


Wannes Rosiers

parallelML documentation built on May 19, 2017, 1:48 p.m.
Search within the parallelML package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.