Re: [Rd] GetRNGstate and PutRNGstate

2008-07-03 Thread Prof Brian Ripley
On Thu, 3 Jul 2008, tyler wrote: Hi, I've got a simulation function, written in C and called from R, that uses the R random number functions. It's not a very complicated simulation - 280 lines total, with the main function (the one called with .C) repeatedly calling another function, with multi

[Rd] GetRNGstate and PutRNGstate

2008-07-03 Thread tyler
Hi, I've got a simulation function, written in C and called from R, that uses the R random number functions. It's not a very complicated simulation - 280 lines total, with the main function (the one called with .C) repeatedly calling another function, with multiple calls to unif_rand() in both fun