[R] how to call C from Fortran?

Liaw, Andy andy_liaw at merck.com
Fri Feb 1 16:55:27 CET 2002


Dear R-help,

In the R-ext manual, section 5.6 ("Calling C from FORTRAN and vice versa"),
it seems like only the "vice versa" part is covered.  Can someone explain
(or give an example) on how to do this?  In particular:

o  Is it possible to call the R RNG from Fortran?
o  Is it possible to call the utility routines such as sorting and ranking?

Any help is much appreciated!

Andy


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



More information about the R-help mailing list