View source: R/defaultCluster.R
defaultCluster | R Documentation |
Creates a default cluster using one less than the total cores available on the system. By default this uses forking, which is not be available on Windows. Hence, the fork parameter has no effect on Windows.
defaultCluster(fork = TRUE)
fork |
If TRUE uses forking to create the cluster (Unix like systems only) |
A cluster object for parallel processing
## Not run:
cl <- defaultCluster()
stopCluster(cl)
cl <- defaultCluster(FALSE)
stopCluster(cl)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.