Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use x$lastSeedValue, not .Random.seed (which may not exist) #502

Closed
wants to merge 1 commit into from

Conversation

MichaelChirico
Copy link
Contributor

I'm seeing an error where cbind() wounds up run without .Random.seed set, which this solves.

Per ?.Random.seed, no seed is set initially in the session until the first time set.seed() is run:

 Initially, there is no seed; a new one is created from the current time and the process ID when one is required.

I don't know enough about the package to know if this fix is for sure correct, but I noticed a similar fix applied in the same file:

1189fe1

I'm seeing an error where cbind() wounds up run without .Random.seed set, which this solves.

Per `?.Random.seed`, no seed is set initially in the session until the first time `set.seed()` is run:

>      Initially, there is no seed; a new one is created from the current time and the process ID when one is required.

I don't know enough about the package to know if this fix is for sure correct, but I noticed a similar fix applied in the same file:

amices@1189fe1
@stefvanbuuren
Copy link
Member

Thanks. We intend to tackle this one with #515.

@stefvanbuuren
Copy link
Member

Adressed by c084cdd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants