[R] reading the seed from a simulation

2004-12-17 Thread Suzette Blanchard
Greetings, I have a simulation of a nonlinear model that is failing. But it does not fail til way into the simulation. I would like to look at the run that is failing and maybe I could if I could capture the seed for the failing run. The help file on set.seed says you can do it but

Re: [R] reading the seed from a simulation

2004-12-17 Thread Tony Plate
With most modern random number generators you can't capture the current state in a single 32-bit integer. (I suspect the .Random.seed you are seeing is the state contained in 625 integers). The easiest way to run reproducible simulations is to explicitly set the seed, using an integer, before