setup_cluster {mcmcsae} | R Documentation |
Set up a cluster for parallel computing
Description
The cluster is set up for a number of workers by loading the mcmcsae package and setting up independent RNG streams.
Usage
setup_cluster(n.cores = NULL, seed = NULL, export = NULL)
Arguments
n.cores |
the number of cpu cores to use. |
seed |
optional random seed for reproducibility. |
export |
a character vector with names of objects to export to the workers. |
Value
An object representing the cluster.
[Package mcmcsae version 0.7.7 Index]