Skip to contents

Retrieves the current random seed (.Random.seed in the global environment), and initializes the RNG first, if necessary.

Usage

get_seed()

Value

integer(). Depends on the base::RNGkind().

Examples

str(get_seed())
#>  int [1:626] 10403 92 1119126714 -1629216836 -1999446785 -680284075 -775396500 -544613438 -105444323 1229909143 ...