Hi, there, 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. Hanson
(no subject)
3 messages · faculty wang hansheng, Brian Ripley, Duncan Murdoch
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
On Thu, 19 Aug 2004 01:39:07 GMT, "faculty wang hansheng"
<hansheng@gsm.pku.edu.cn> wrote:
Hi, there, 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.
It depends on which compiler you're using. My web page <http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/> gives some advice for Salford FTN95, but no F90 compiler as far as I know. Duncan Murdoch