A wrapper for parallel::clusterSetRNGStream.

parallelSetSeed(iseed = NULL, seed = iseed, cl = NULL, ...)

Arguments

iseed

An integer to be supplied to set.seed, or NULL not to set reproducible seeds.

seed

An integer vector of length 7 as given by .Random.seed when the "L'Ecuyer-CMRG" RNG is in use. See RNG for the valid values.

cl

A cluster from either parallel or package snow, or (if NULL) the registered cluster.

...

Arguments to be passed to set.seed().