mlr3misc (version 0.1.0)

get_seed: Get the Random Seed

Description

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

Usage

get_seed()

Arguments

Value

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

Examples

# NOT RUN {
str(get_seed())
# }