From Kurt.Hornik@ci.tuwien.ac.at  Tue Jun  3 15:45:11 1997
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Tue, 3 Jun 1997 16:45:11 +0200
Subject: R-alpha: unif_rand() again
Message-ID: <199706031445.QAA13652@aragorn.ci.tuwien.ac.at>

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


R-alpha: unif_rand() again
Kurt Hornik