This will set different random seeds on the clusters (not the default)
with makeForkCluster
.
It also defaults to creating a logfile with message of where it is.
makeClusterRandom(
...,
type = "SOCK",
iseed = NULL,
libraries = NULL,
objects = NULL,
envir = parent.frame()
)
makeForkClusterRandom(..., iseed = NULL)
makeSockClusterRandom(..., iseed = NULL)
passed to makeCluster
, e.g.,
One of the supported types: see ‘Details’.
passed to clusterSetRNGStream
A character vector of libraries to load in the SOCK cluster. This is ignored if a "FORK" cluster
a character string of objects that are required inside the SOCK cluster. Ignored if type != "SOCK"
Required if objects
is passed. The environment where
objects
are found.