Skip to content

r_session$new() afects the random seed generator in a non reproducible way on Windows #390

Closed
@dfalbel

Description

@dfalbel

For example, on Windows, if you run a few times:

set.seed(1)
digest::sha1(.Random.seed)
sess <- callr::r_session$new()
digest::sha1(.Random.seed)

You'll see that it that the RNG state is different after every execution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions