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)

Arguments

...

passed to makeCluster, e.g.,

type

One of the supported types: see ‘Details’.

iseed

passed to clusterSetRNGStream

libraries

A character vector of libraries to load in the SOCK cluster. This is ignored if a "FORK" cluster

objects

a character string of objects that are required inside the SOCK cluster. Ignored if type != "SOCK"

envir

Required if objects is passed. The environment where objects are found.