Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
1.8.6.3 2026-04-09 windows/windows R-4.5 doRNG_1.8.6.3.zip 45.1 KiB

Dependencies (latest)

Depends

Imports

Suggests