Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

make_rng_seeds

Produce Reproducible Seeds for Parallel Random Number Generation


Description

Produce Reproducible Seeds for Parallel Random Number Generation

Usage

make_rng_seeds(count, seed = FALSE, debug = getOption("future.debug", FALSE))

Arguments

count

The number of RNG seeds to produce.

seed

A logical specifying whether RNG seeds should be generated or not. (seed = NULL corresponds to seed = FALSE). If a list, then it should be of length count and each element should consist of a valid RNG seed.

debug

If TRUE, debug output is produced, otherwise not.

Value

Returns a non-named list of length count, or NULL. Any seed returned is a valid RNG seed.


future

Unified Parallel and Distributed Processing in R for Everyone

v1.21.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.