Dear All, I want to use R's random number in a C++ program (I can link libRmath either as shared or static library). I have two questions: 1. If I understand correctly, the underlaying random number generator will be Marsaglia-multicarry, UNLESS I provide my own. In other words (unless I provide it) I cannot use some of the other RNG's available from within R, such as Mersenne-Twister? 2. I am using another library, which uses it own RNG; I guess there is no problem in using both R's RNG's (for some of the functions in the code) and this other library's RNG? Thanks, Ramón -- Ramón Díaz-Uriarte Triana 47 28016 Madrid Spain email:ramon-diaz at teleline.es Phone: +-34-918-513-966 +-34-657-186-407 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._