rstream.version: Switch to behavior of earlier version of package

Description Usage Arguments Details Author(s) See Also Examples

View source: R/rstream.R

Description

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

Usage

1

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)

Josef Leydold [email protected]

See Also

rstream.

Examples

1
2
3
4
5
6
7
## Switch to version 1.2
rstream.version("1.2")
## Show current version
rstream.version()
## Switch back to default
rstream.version("default")
rstream.version()

rstream documentation built on June 21, 2017, 5:02 p.m.