Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rstream.version

Switch to behavior of earlier version of package


Description

rstream.version can be used to switch to the behavior as it was in an earlier version of package rstream (for reproducibility).

Usage

rstream.version(version)

Arguments

version

a character string containing a version number of the form "xx.yy" or "xx.yy.zz", e.g., "1.2.5".

Details

Bug fixes may influence a generated random stream (see NEWS file, news(package="rstream")). However, it is sometimes necessary to reproduce the same sequence with a newer version of the package. Thus one can switch to this behavior by means of rstream.version.

version is a character string that contains the requested version number. Notice that only the major number and the first minor number are relevant. The string "default" can be used to switch back to the new behavior. When version is omitted than the actual version number is shown.

Author(s)

See Also

Examples

## Switch to version 1.2
rstream.version("1.2")
## Show current version
rstream.version()
## Switch back to default
rstream.version("default")
rstream.version()

rstream

Streams of Random Numbers

v1.3.6
GPL-2
Authors
Josef Leydold <josef.leydold@wu.ac.at>
Initial release
2020-02-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.