[R] random sequence

yudi@pop3.ucd.ie yudi at pop3.ucd.ie
Mon Apr 26 15:38:10 CEST 1999


Dear All,
How can I get the same stream of random numbers in R and S?

I know one of the generators in R is Super-Duper also used in S-plus,
but the .Random.seed's are set differently. I tried to re-exrpess 
that in S-plus into two seeds according to the formula in VR,
but I can't get the same random stream in R. 

Thanks,

------------------------------
Yudi Pawitan: yudi at ucd.ie
Department of Statistics, UCD
Dublin 4, Ireland
Ph : 353-1-706 7641
Fax: 353-1-706 1186
------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list