search for: td4686321

Displaying 3 results from an estimated 3 matches for "td4686321".

2017 Feb 07
2
package load altering RNG state
...the random >> number generator? I guess not, since the parallel package >> does it? > Surprisingly it is not frowned upon, but it *is* a > nuisance. I brought it up a couple of years ago > http://r.789695.n4.nabble.com/parallel-package-changes-Random-seed-td4686321.html > along with a patch, but was told off... >> >> > set.seed(6860) > old.seed <- .GlobalEnv$.Random.seed > >> library(parallel) > new.seed <- .GlobalEnv$.Random.seed > >> identical(old.seed, new.seed) [1] FALSE >>...
2017 Feb 07
2
package load altering RNG state
Hello When loading a package, I'm wondering if it's frowned upon for the package to alter the state of the random number generator? I guess not, since the parallel package does it? > set.seed(6860) > old.seed <- .GlobalEnv$.Random.seed > library(parallel) > new.seed <- .GlobalEnv$.Random.seed > identical(old.seed, new.seed) [1] FALSE I ask
2017 Feb 07
0
package load altering RNG state
...n for the > package to alter the state of the random number generator? I guess not, > since the parallel package does it? Surprisingly it is not frowned upon, but it *is* a nuisance. I brought it up a couple of years ago http://r.789695.n4.nabble.com/parallel-package-changes-Random-seed-td4686321.html along with a patch, but was told off... > > > set.seed(6860) > > old.seed <- .GlobalEnv$.Random.seed > > library(parallel) > > new.seed <- .GlobalEnv$.Random.seed > > identical(old.seed, new.seed) > [1] FALSE > > I ask...