Sets and resets the .Random.seed in the global environment.
randomSeed(action=c("set", "advance", "reset", "get"), seed=NULL, kind=NULL, n=1L,
  backup=TRUE)Returns a .Random.seed.
  If more than one is returned, the they are returned as a list.
A character string specifying the action.
Random seed to be set; only for action="set".
    If length(seed) == 1, then set.seed(seed) is
    used, otherwise .Random.seed is assigned the value.
(optional) A character string specifying type of
    random number generator to use, cf. RNGkind().
Number of random seeds to generate by action.
If TRUE, the previous (seed, kind) state is recorded
    such that it can be reset later.
Henrik Bengtsson