Skip to content
Prev 242 / 63424 Next

R-alpha: unif_rand() again

Just out of curiosity, here is a question that might be embarrasingly
stupid.  Hmm ...

What I need is to call runif() (more precisely, `runif(1, 0, 1)') from
inside a C function.  Is this possible using call_S?  If so, how?

-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-