How can I get the current seed from the current RNG state in R? For instance,
a <- 1987
set.seed(a)
b <- .Random.seed
How can I retrieve a (i.e., 1987) from b? Thank you.
How can I get the current seed from the current RNG state in R? For instance,
a <- 1987
set.seed(a)
b <- .Random.seed
How can I retrieve a (i.e., 1987) from b? Thank you.