randomSeed(action=c("set", "advance", "reset", "get"), seed=NULL, kind=NULL, backup=TRUE)
character
string specifying the action.action="set"
.
If length(seed) == 1
, then set.seed(seed)
is
used, otherwise .Random.seed
is assigned the value.TRUE
, the previous (seed, kind) state is recorded
such that it can be reset later..Random.seed
.