mlr3misc (version 0.1.6)

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

Run this code
# NOT RUN {
str(get_seed())
# }

Run the code above in your browser using DataCamp Workspace