Skip to content
Prev 16615 / 398498 Next

random number generation issues with r and compiled C code

On Thu, 24 Jan 2002, Prof Brian Ripley wrote:

            
Thank you for the reply. I used the one supplied (set_seed). So can I call
set_seed from the top level of my C code; ie from main(), which then calls
other functions which call unif_rand() etc?

                                  Sincerely, Faheem Mitha.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._