Skip to content

setRNG

2024.2-1

Set (Normal) Random Number Generator and Seed

9packages depend
64.8Kdownloads / year
61.4%test coverage
11/13checks pass

Overview

About
Maintained by Paul GilbertFirst published 2004-03-269 releasesCRAN page ↗

Provides utilities to help set and record the setting of the seed and the uniform and normal generators used when a random experiment is run. The utilities can be used in other functions that do random experiments to simplify recording and/or setting all the necessary information for reproducibility. See the vignette and reference manual for examples.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.1 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.02
61.4%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 0% structuredCode of conductNoContributing guideNo
Examples that run
75%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

64.8K
CRAN downloads in the past year
Rank #1,869 · ~178/day · ~5.4K/mo
Daily download trend is not available in this view yet.
3.4K30 days
11.6K90 days
64.8K1 year
Compare downloads with other packages →
Also on788 r2u16 autocran2K conda_forge166 c2d4u

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.5.0
Imports (1)
stats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (1)
no longer listed · 2004.3-1 to 2024.2-1
Package Timeline

9 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2024.2-1Latest
    2024-02-18 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 2022.4-1
    2022-04-03 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 2013.9-1
    2014-11-25 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
Show 25 earlier events
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • 2011.11-2
    2012-03-27 · 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
  • 2009.11-1
    2009-11-27 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • 2008.3-1
    2008-03-21 · diff ↗
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • 2006.4-1
    2006-04-05 · diff ↗
  • R
    R 2.2.0 released · 2005-10-06
  • R
    R 2.1.0 released · 2005-04-18
  • R
    R 2.0.0 released · 2004-10-04
  • 2004.4-1
    2004-04-18 · diff ↗
  • R
    R 1.9.0 released · 2004-04-12
  • 2004.3-1
    2004-03-26
  • R
    R 1.8.0 released · 2003-10-08

Package metadata

First published
2004-03-26
Total releases
9 / 22 yrs
License
GPL-2 | file LICENSE OSI
Minimum R
≥ 2.5.0
Download size
37 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("setRNG")

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 setRNG version 2024.2-1 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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