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.

Version: 0.3-3
Published: 2023-09-19
Author: Petr Savicky
Maintainer: Petr Savicky <savicky at cs.cas.cz>
License: GPL-3
NeedsCompilation: yes
Materials: ChangeLog
CRAN checks: rngSetSeed results


Reference manual: rngSetSeed.pdf


Package source: rngSetSeed_0.3-3.tar.gz
Windows binaries: r-devel: rngSetSeed_0.3-3.zip, r-release: rngSetSeed_0.3-3.zip, r-oldrel: rngSetSeed_0.3-3.zip
macOS binaries: r-release (arm64): rngSetSeed_0.3-3.tgz, r-oldrel (arm64): rngSetSeed_0.3-3.tgz, r-release (x86_64): rngSetSeed_0.3-3.tgz, r-oldrel (x86_64): rngSetSeed_0.3-3.tgz
Old sources: rngSetSeed archive


Please use the canonical form https://CRAN.R-project.org/package=rngSetSeed to link to this page.