powered by
get.seed obtains current pseudo-random number seeds.
get.seed
get.seed()
A numeric vector of .Random.seed, with RNGkind attribute being the result from calling RNGkind().
.Random.seed
RNGkind
RNGkind()
This function obtain the .Random.seed object in the global environment. If it is absent, runif(1L) is called and then the seed is obtained.
runif(1L)
base::.Random.seed
# NOT RUN { set.seed(2034L) all.equal(get.seed(), .Random.seed, check.attributes = FALSE) # }
Run the code above in your browser using DataLab