Re: [Rd] F90 in R (was (no subject))

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu 19 Aug 2004 - 16:43:23 EST


On Thu, 19 Aug 2004, someone claiming to be `faculty wang hansheng' wrote:

> I have a number of F90 codes wish to be linked into R under Windows XP OS.
> Do anyone know how to do it and give some advice? Many thanks.

Advice: please read the R posting guide, and use an appropriate subject line.

First you need to find an F90 compiler for Windows XP (I don't know of a free one). Then use it to produce an appropriate DLL with cdecl linkage, as described in the file README.packages.

Given that R only has C and F77 interfaces to compiled code, you will need to ensure that the entry points you actually call use only C/F77 features.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu Aug 19 16:47:27 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:07 EST