Description Usage Arguments Value Examples
View source: R/defaultCluster.R
Creates a default cluster using one less than the total cores available on the system. By default this uses forking, which may not be available on 'Windows'.
1 | defaultCluster(fork = TRUE)
|
fork |
If TRUE uses forking to create the cluster |
A cluster object for parallel processing
1 2 3 4 5 6 7 | ## 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.