Package: rngSetSeed 0.3-3

Petr Savicky

rngSetSeed: Seeding the Default RNG with a Numeric Vector

A function setVectorSeed() is provided. Its argument is a numeric vector of an arbitrary nonzero length, whose components have integer values from [0, 2^32-1]. The input vector is transformed using AES (Advanced Encryption Standard) algorithm into an initial state of Mersenne-Twister random number generator. The function provides a better alternative to the R base function set.seed(), if the input vector is a single integer. Initializing a stream of random numbers with a vector is a convenient way to obtain several streams, each of which is identified by several integer indices.

Authors:Petr Savicky

rngSetSeed_0.3-3.tar.gz
rngSetSeed_0.3-3.zip(r-4.5)rngSetSeed_0.3-3.zip(r-4.4)rngSetSeed_0.3-3.zip(r-4.3)
rngSetSeed_0.3-3.tgz(r-4.4-x86_64)rngSetSeed_0.3-3.tgz(r-4.4-arm64)rngSetSeed_0.3-3.tgz(r-4.3-x86_64)rngSetSeed_0.3-3.tgz(r-4.3-arm64)
rngSetSeed_0.3-3.tar.gz(r-4.5-noble)rngSetSeed_0.3-3.tar.gz(r-4.4-noble)
rngSetSeed_0.3-3.tgz(r-4.4-emscripten)rngSetSeed_0.3-3.tgz(r-4.3-emscripten)
rngSetSeed.pdf |rngSetSeed.html
rngSetSeed/json (API)

# Install 'rngSetSeed' in R:
install.packages('rngSetSeed', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/cranhaven/cranhaven.r-universe.dev/issues

On CRAN:

archivedpackagesr-universe

1.70 score 5 stars 5 scripts 115 downloads 2 exports 0 dependencies

Last updated 1 months agofrom:80f9de5f94 (on package/rngSetSeed). Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 24 2024
R-4.5-win-x86_64OKOct 25 2024
R-4.5-linux-x86_64OKOct 25 2024
R-4.4-win-x86_64OKNov 24 2024
R-4.4-mac-x86_64OKNov 24 2024
R-4.4-mac-aarch64OKNov 24 2024
R-4.3-win-x86_64OKNov 24 2024
R-4.3-mac-x86_64OKNov 24 2024
R-4.3-mac-aarch64OKNov 24 2024

Exports:generateInitializationsetVectorSeed

Dependencies: