doRNG - Generic Reproducible Parallel Backend for 'foreach' Loops
Provides functions to perform reproducible parallel foreach loops, using independent random streams as generated by L'Ecuyer's combined multiple-recursive generator [L'Ecuyer (1999), <DOI:10.1287/opre.47.1.159>]. It enables to easily convert standard '%dopar%' loops into fully reproducible loops, independently of the number of workers, the task scheduling strategy, or the chosen parallel environment and associated foreach backend.
Last updated 2 years ago
12.63 score 20 stars 183 dependents 4.3k scripts 30k downloadsrngtools - Utility Functions for Working with Random Number Generators
Provides a set of functions for working with Random Number Generators (RNGs). In particular, a generic S4 framework is defined for getting/setting the current RNG, or RNG data that are embedded into objects for reproducibility. Notably, convenient default methods greatly facilitate the way current RNG settings can be changed.
Last updated 3 years ago
8.65 score 6 stars 216 dependents 85 scripts 27k downloads