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:
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')) |
Bug tracker:https://github.com/cranhaven/cranhaven.r-universe.dev/issues
Last updated 5 days agofrom:80f9de5f94 (on package/rngSetSeed). Checks:OK: 9. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win-x86_64 | OK | Oct 25 2024 |
R-4.5-linux-x86_64 | OK | Oct 25 2024 |
R-4.4-win-x86_64 | OK | Oct 25 2024 |
R-4.4-mac-x86_64 | OK | Oct 25 2024 |
R-4.4-mac-aarch64 | OK | Oct 25 2024 |
R-4.3-win-x86_64 | OK | Oct 25 2024 |
R-4.3-mac-x86_64 | OK | Oct 25 2024 |
R-4.3-mac-aarch64 | OK | Oct 25 2024 |
Exports:generateInitializationsetVectorSeed
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Seeding the Default RNG with a Numeric Vector | rngSetSeed-package rngSetSeed |
Generates a random integer vector of a specified length using AES | generateInitialization |
Initialization of Mersenne-Twister RNG with a numeric vector of an arbitrary nonzero length | setVectorSeed |