-
Notifications
You must be signed in to change notification settings - Fork 26
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
Within-target parallelism section #69
Comments
From the "Random numbers" section of the help file of
rnorm(1)
#> [1] 0.4506939
parallel::mclapply(c(1, 1), rnorm, mc.set.seed = FALSE, mc.cores = 2)
#> [[1]]
#> [1] -0.3738903
#>
#> [[2]]
#> [1] -0.3738903 Created on 2019-03-12 by the reprex package (v0.2.1)
Just if people are encountering ropensci/drake#675 and need a quick workaround. |
Uff, either I always interpreted that wrong or something changed recently. I remember explicitly setting this to HAVE the same RNG across all processes. |
I just added new writing based on ropensci/drake#777 (comment). |
No worries. I would suggest to make one part of the persistent worker section extra clear: The number of workers chosen in |
Yeah, I think something like that is worth a mention. But for the defaults, I agree with @HenrikBengtsson in ropensci/drake#777 (comment). I think the first examples should rely on |
Questions
Why? I use it in my code and haven't faced any problems yet.
I also do not do this. What is the reason behind this?
Suggestions
Devote an own section to "within-target parallelism". Create subsections for
The text was updated successfully, but these errors were encountered: