rstream.version {rstream} | R Documentation |
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 |
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 josef.leydold@wu.ac.at
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()