> -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Mauricio Zambrano-Bigiarini > Sent: Monday, February 18, 2013 1:33 AM > To: r-help@r-project.org > Subject: [R] Random number generator used in 'runif' > > Dear list, > > For the implementation of a particular optimization algorithm it is > very important the random number generator. > > I would like to know if somebody could tell me what is the random > number generator used by default in the 'runif' function. > > >From the help page of 'runif' and '.Random.seed' I guess that the > default algorithm is 'Mersenne-Twister', but I would be really > grateful if somebody with experience in random number generators could > confirm that or tell me what is the method actually used.
No guessing necessary, as the R-help is quite explicit Details The currently available RNG kinds are given below. kind is partially matched to this list. The default is "Mersenne-Twister". Hope this is helpful, Dan Daniel Nordlund Bothell, WA USA ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.