Skip to content

randtoolbox

2.0.5Package record

Toolbox for Pseudo and Quasi Random Number Generation and Random Generator Tests

46packages dependsuggested by 6
189.5Kdownloads / year
55.2%test coverage
13/13flavors OK

Overview

About

Provides (1) pseudo random generators - general linear congruential generators, multiple recursive generators and generalized feedback shift register (SF-Mersenne Twister algorithm (doi:10.1007/978-3-540-74496-2_36) and WELL (doi:10.1145/1132973.1132974) generators); (2) quasi random generators - the Torus algorithm, the Sobol sequence, the Halton sequence (including the Van der Corput sequence) and (3) some generator tests - the gap test, the serial test, the poker test, see, e.g., Gentle (2003) doi:10.1007/b97336. Take a look at the Distribution task view of types and tests of random number generators. The package can be provided without the 'rngWELL' dependency on demand. Package in Memoriam of Diethelm and Barbara Wuertz.

Changes in 2.0.5
  • new devel version

From inst/NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 36.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • WARNING12 OK, 1 WARNING2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.0.5
READMEYes · 117 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 2.0.5Citation fileYes · computed when R runs itWebsitenot declared in DESCRIPTION
Help pages
16includes a package overview page
Examples that run
100%14 run in a plain check
Exported functions with examples
93%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
63%

Downloads

189.5K
CRAN downloads in the past year
Rank #982 · ~519/day · ~15.8K/mo
Daily download trend is not available in this view yet.
13.9K30 days
41K90 days
189.5K1 year
Compare downloads with other packages →
Also on1.4K r2u3 autocran7K conda_forge195 c2d4u

Repository

PracticesBeta

Repository r-forge.r-project.org/projects/rmetrics is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing randtoolbox adds 1 package (1 with compiled code, 58 KB of source tarballs). Heaviest: rngWELL 58 KB.

Depends (1)
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

People & History

People (7)
Author, Maintainer since 1.00 (2008)
Author · added in 2.0.3
C code of Knuth-TAOCP RNG
Author · added in 2.0.3
C code of SFMT algorithm
Author · added in 2.0.5
C code of SFMT algorithm
Author · added in 1.09
Author · added in 2.0.3
part of R Code
Contributor · added in 1.09
part of R Code
Listed in earlier versions (13)
Show 8 of 13 peopleHide 8 people
Thibault Marchal
no longer listed · 1.00
Diethelm Wuertz . See LICENCE file for details.
no longer listed · 1.05 to 1.07
Diethelm Wuertz the SFMT algorithm from M. Matsumoto
no longer listed · 1.09 to 1.16
M. Saito
no longer listed · 1.09 to 2.0.2
the Knuth-TAOCP RNG from D. Knuth). See LICENCE file for details.
no longer listed · 1.09 to 1.12
the Knuth-TAOCP RNG from D. Knuth). See LICENSE file for details.
no longer listed · 1.13 to 1.14
the Knuth-TAOCP RNG from D. Knuth).
no longer listed · 1.15 to 1.16
the Knuth-TAOCP RNG from D. Knuth.
no longer listed · 1.17 to 2.0.2
Releases (27)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.0.5Latest
    record
    2024-10-18 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.0.4
    record
    2023-01-28 · diff ↗
  • 2.0.3
    record
    2022-11-08 · diff ↗
  • 2.0.2
    record
    2022-08-16 · diff ↗
  • 2.0.1
    record
    2022-06-09 · diff ↗
  • 2.0.0
    record
    2022-05-24 · diff ↗ ·
    removed 2 exports
    sobol.directions, sobol.basic
  • R
    R 4.2.0 released · 2022-04-22
  • 1.31.1
    record
    2021-10-30 · diff ↗
  • 1.31.0
    record
    2021-10-27 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.30.1
    record
    2020-01-31 · diff ↗
Show 36 earlier eventsHide 36 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • unarchivedReturned to CRAN
    2019-04-21
  • 1.30.0
    record
    2019-04-21 · diff ↗ ·
    added 6 exports
    sobol.directions, int2bit, bit2int, bit2unitreal, sobol.basic, sobol.R
  • R
    R 3.5.0 released · 2018-04-23
  • orphanedOrphaned by its maintainer
    2018-02-14
    check errors were not corrected despite reminder Including invalid use of pointers and incomplete symbol registration There remains a Windows warning with 'fscanf': so don't use it!
  • 1.17.1
    record
    2018-02-14 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.17
    record
    2015-07-30 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.16
    record
    2014-12-05 · diff ↗
  • 1.15
    record
    2014-07-24 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.14
    record
    2013-06-11 · diff ↗
  • 1.13
    record
    2013-04-03 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.12
    record
    2012-04-28 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.11
    record
    2012-01-15 · diff ↗ ·
    added 3 exports
    rngWELLScriptR, getWELLState, coll.test.sparse
  • 1.10
    record
    2012-01-14 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 1.09
    record
    2009-12-11 · diff ↗ ·
    added 4 exports
    set.generator, put.description, get.description, get.primes
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • 1.07
    record
    2009-02-15 · diff ↗
  • 1.06
    record
    2009-02-08 · diff ↗ ·
    added 1 export
    permut
  • 1.05
    record
    2008-11-03 · diff ↗ ·
    added 4 exports
    runif.halton, halton, runif.sobol, sobol
  • R
    R 2.8.0 released · 2008-10-20
  • 1.04
    record
    2008-09-03 · diff ↗
  • 1.03
    record
    2008-08-31 · diff ↗ ·
    removed 1 export
    setRandSeed
    added 3 exports
    setSeed, WELL, knuthTAOCP
  • 1.02
    record
    2008-07-28 · diff ↗ ·
    removed 2 exports
    setTorusSeed, mars.test
    added 4 exports
    setRandSeed, order.test, coll.test, stirling
  • 1.00
    record
    2008-05-25
  • R
    R 2.7.0 released · 2008-04-22

Package metadata

First published
2008-05-25
Total releases
27 / 18 yrs
License
BSD_3_clause + file LICENSE OSI · relicensed from GPL (>= 2) in 1.09
Download size
1.4 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("randtoolbox")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for randtoolbox version 2.0.5 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy