Re: [R] Saving Seed In a Lopp

2009-10-11 Thread Simon Bonner
Hey Galois (?), See the help file for set.seed() (help(set.seed)). In short, the current seed is stored in the variable .Random.seed. You can save the seed with: myseed <- .Random.seed Hope that helps, Simon - Simon Bonner Post-Doctoral Fellow Department of Statistics, UBC www.simon.bonners

[R] Saving Seed In a Lopp

2009-10-11 Thread Galois Theory
I'm trying to save the random seed in a for loop. How can one go about doing that and preserving the seed for the next session. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-hel