rngSetSeed: Seeding the Default RNG with a Numeric Vector
Version 0.3-2

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.

AuthorPetr Savicky
Date of publication2014-12-03 10:28:01
MaintainerPetr Savicky <savicky@cs.cas.cz>
LicenseGPL-3
Version0.3-2
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("rngSetSeed")

Getting started

Package overview

Popular man pages

generateInitialization: Generates a random integer vector of a specified length using...
rngSetSeed-package: Seeding the Default RNG with a Numeric Vector
setVectorSeed: Initialization of Mersenne-Twister RNG with a numeric vector...
See all...

All man pages Function index File listing

Man pages

generateInitialization: Generates a random integer vector of a specified length using...
rngSetSeed-package: Seeding the Default RNG with a Numeric Vector
setVectorSeed: Initialization of Mersenne-Twister RNG with a numeric vector...

Functions

generateInitialization Man page Source code
onLoad Source code
onUnload Source code
rngSetSeed Man page
setVectorSeed Man page Source code

Files

tests
tests/compareToRScriptAES.R
tests/compareToStoredOutput.R
src
src/interface.c
src/aes.h
src/aes.c
NAMESPACE
R
R/functions.R
R/init.R
MD5
DESCRIPTION
ChangeLog
man
man/generateInitialization.Rd
man/rngSetSeed-package.Rd
man/setVectorSeed.Rd
rngSetSeed documentation built on May 20, 2017, 4:48 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.