[R] Fortran90

Thomas Lumley thomas at biostat.washington.edu
Wed Mar 10 23:01:18 CET 1999

On Wed, 10 Mar 1999, Bodo Ahrens wrote:

> Hi,
> working with R, version 0.63.0, I was successful to dyn.load
> fortran90 subroutines on a Solaris 2.6, as long as they are more or less
> in conformity with f77.
> It was not possible to work with statements like
> or
> x=SUM(y).
> REAL,DIMENSION(1:10) :: d is possible.

One problem is that R only provides double precision floating point
numbers. Also, I don't know if the calling standards for f90 code are the
same as f77; it may even depend on your compiler. The compiler should come
with some documentation about calling from other languages.


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

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