On 13/06/2013 11:59 AM, Pooya Lalehzari wrote: > Hello, > If I use set.seed(x) to set a seed for the random number generator, how can I undo that to revert a random output every time I run my code? If you remove .Random.seed, then the next time a seed is needed it will be generated from the system clock, so it will appear random. Duncan Murdoch