View source: R/parallel_helpers.R
cluster_setup | R Documentation |
Convenience Function to set up a cluster used for multiprocessing
cluster_setup(ncores = 2, cluster_type = "FORK", debug = FALSE, outfile = NULL)
ncores |
Numbers of processes the cluster should use |
cluster_type |
"FORK" or "PSOCK". Fork is faster but doesn't work on Windows |
debug |
TRUE if the cluster log should be written to file |
outfile |
Path where the cluster log is written to in debug mode. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.