[R] random sequence

Prof Brian Ripley Prof Brian Ripley <ripley@stats.ox.ac.uk>
Mon, 26 Apr 1999 18:10:32 +0100 (BST)

> Date: Mon, 26 Apr 1999 12:47:23 -0400
> From: Paul Gilbert <pgilbert@bank-banque-canada.ca>
> >How can I get the same stream of random numbers in R and S?
> I'd like to do this too.  I think you need to extract the RNG C code from R 
> compile then dynload it into S. If you get it working please let me know.

What exactly do you want?  My class exercise is to implement the
Wichmann-Hill algorithm in C/Fortran and use it with S-PLUS! But
while one is at it, why not use a decent generator with both?


Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-devel 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-devel-request@stat.math.ethz.ch