Last chance! 50% off unlimited learning
Sale ends in
This expression returns .Random.seed
when eval(rand_seed)
and
NULL
otherwise.
rand_seed
It is designed to work with opts_chunk$set(cache.extra = rand_seed)
for reproducibility of chunks that involve with random number generation. See
references.
eval(rand_seed)
rnorm(1) # .Random.seed is created (or modified)
eval(rand_seed)
Run the code above in your browser using DataLab