Learn R Programming

mlr3misc (version 0.15.1)

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
str(get_seed())

Run the code above in your browser using DataLab