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.

Version: 1.8.2
Depends: R (≥ 3.0.0), foreach, rngtools (≥ 1.5)
Imports: stats, utils, iterators
Suggests: doParallel, doMPI, doRedis, rbenchmark, devtools, knitr, bibtex, testthat, pkgmaker (≥ 0.31)
Published: 2020-01-27
Author: Renaud Gaujoux [aut, cre]
Maintainer: Renaud Gaujoux <renozao at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: NEWS
In views: HighPerformanceComputing
CRAN checks: doRNG results


Reference manual: doRNG.pdf
Vignettes: Using the package doRNG


Package source: doRNG_1.8.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): doRNG_1.8.2.tgz, r-release (x86_64): doRNG_1.8.2.tgz, r-oldrel: doRNG_1.8.2.tgz
Old sources: doRNG archive

Reverse dependencies:

Reverse depends: EPX, ramr, SparseMDC
Reverse imports: autoMrP, BANDITS, bestNormalize, bhmbasket, BSL, bumphunter, chickn, clustcurv, condSURV, Counterfactual, CovSelHigh, dcanr, deltaccd, distinct, ellipticalsymmetry, envi, ewoc, exuber, fabisearch, gbts, gratis, gsynth, hwep, hybridModels, ILoReg, lcc, Mediana, MedianaDesigner, metaplus, midasml, momentuHMM, mplot, ORdensity, PADOG, randomLCA, RobGARCHBoot, robmixglm, robust2sls, SC3, scpi, sentopics, SGP, skpr, sparrpowR, SPONGE, SSDL, survidm, updog, varclust, WebGestaltR
Reverse suggests: blockmodeling, CPAT, cutpointr, Distance, doFuture, GA, GAparsimony, GENIE3, inlmisc, mclustAddons, MoBPS, ptycho, safe, SimRVPedigree
Reverse enhances: AUCell, RcisTarget


Please use the canonical form to link to this page.