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.6
Depends: R (≥ 3.0.0), foreach, rngtools (≥ 1.5)
Imports: stats, utils, iterators
Suggests: doParallel, doMPI, doRedis, rbenchmark, devtools, knitr, rbibutils (≥ 1.3), testthat, pkgmaker (≥ 0.32.7), covr
Published: 2023-01-16
DOI: 10.32614/CRAN.package.doRNG
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.6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): doRNG_1.8.6.tgz, r-oldrel (arm64): doRNG_1.8.6.tgz, r-release (x86_64): doRNG_1.8.6.tgz, r-oldrel (x86_64): doRNG_1.8.6.tgz
Old sources: doRNG archive

Reverse dependencies:

Reverse depends: EPX, ramr, rpm, SparseMDC
Reverse imports: adjustedCurves, ANCOMBC, autoMrP, BANDITS, bestNormalize, bhmbasket, bigsnpr, BSL, bumphunter, CDatanet, CICI, cola, condSURV, Counterfactual, dcanr, deltaccd, DifferentialRegulation, distinct, drugDemand, DynForest, ellipticalsymmetry, envi, evinf, ewoc, exuber, fabisearch, fect, FLORAL, funGp, gbts, GeDS, gratis, gsynth, hwep, hybridModels, IFAA, ILoReg, IsoBayes, kmBlock, latentcor, lcc, LSEbootLS, MCPModBC, Mediana, metaplus, midasml, missForest, momentuHMM, mplot, mslp, nebula, PADOG, pareg, PartialNetwork, randomLCA, redist, RobGARCHBoot, robmixglm, Robyn, RolDE, rsides, SC3, seqimpute, skpr, sparrpowR, sphunif, StochBlock, survidm, tglkmeans, TRexSelector, updog, varclust, WebGestaltR, WpProj
Reverse suggests: blockmodeling, CPAT, cutpointr, Distance, doFuture, GA, GAparsimony, GENIE3, mclustAddons, MedianaDesigner, MoBPS, oncomsm, projpred, ptycho, robust2sls, safe, simDAG, simdata, spatPomp
Reverse enhances: AUCell, RcisTarget


Please use the canonical form to link to this page.