On Mon, 21 Jan 2002, Juan Ramon Gonzalez wrote:
> Hello,
>
> I have made a dll with mingw32 fortran compiler. I load my dll with the
dyn.load function, but when I call one of my Fortran procedures with the
.Fortran instruction, an error message appears saying that my function is
not in the load table. However, if I call my Fortran routines with
".C"
it works fine. I would like to know what is happening here. Is it usual to
call Fortran procedures with the .C function (in S-plus this problem doesn't
appear)?
[Single line broken manually: please make use of the Return key!]
No, it is not usual in R either. You did something very unusual making
the DLL. Please use the recommended facilities, either Rcmd SHLIB or
installing a package.
The utility pedump.exe is recommended in the R doumentation to see what is
going on. Please make use of it.
BTW `in S-plus' is pretty unhelpful: even on Windows (which you forgot to
mention you are using) there are four quite different compilers and
conventions on different versions, three of which are current.
--
Brian D. Ripley, ripley at 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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._