Message-ID: <87622oxt1t.fsf@sklar.v.cablecom.net>
Date: 2013-01-23T07:22:22Z
From: Marius Hofert
Subject: How to construct a valid seed for l'Ecuyer's method with given .Random.seed?
In-Reply-To: <50FF4B07.3040608@uw.edu> (Hana Sevcikova's message of "Tue, 22 Jan 2013 18:29:27 -0800")
I updated to the latest CRAN versions of 'rlecuyer', 'Rmpi', and 'snow':
,----[ sessionInfo() ]
| ...
| other attached packages:
| [1] rlecuyer_0.3-3 Rmpi_0.6-1 snow_0.3-10
| ...
`----
But I still obtain:
,----
| Error in .lec.SetPackageSeed(seed) :
| Seed[1] >= -1065242851, Seed is not set.
`----
when executing
,----
| library(snow)
| RNGkind("L'Ecuyer-CMRG")
| cl <- makeCluster(parallel::detectCores(), type="MPI")
| .t <- snow::clusterSetupRNG(cl, seed=.Random.seed[2:7])
| stopCluster(cl)
`----