Skip to content
Prev 27507 / 398500 Next

random number generator?

ripley at stats.ox.ac.uk writes:
.. but if you don't set the seed, you shouldn't expect reproducible
behaviour anyway:

[pd at rasch pd]$ echo "rnorm(2)" | R --vanilla --slave
[1] 2.0281025 0.8735026

[pd at rasch pd]$ echo "rnorm(2)" | R --vanilla --slave
[1] -1.2695122 -0.0448524

I mean, if the prototypical answer to people complaining "I'm not
getting the same results" is simply to ask them to put an 
RNGkind("Marsaglia-Multicarry","Kinderman-Ramage") next to their first
set.seed(), how troublesome could it be?