setParallel | R Documentation |
Simple function to set the number of threads to use in parallel computations. The default equals all available logical cores. An integer is interpreted as the number of threads. A numeric < 1 is interpreted as a proportion of the avialable logical cores.
setParallel(C = NULL)
C |
a scalar indicating the number of threads, default = NULL (#available logical cores) |
NULL, returned silently.
## Not run:
setParallel() # Use all available logical cores.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.