[R] using DLLs with R

Thomas Dick dick at b6ori1.bauv.unibw-muenchen.de
Sat Oct 14 21:57:18 CEST 2000


i tried to build a dll, that i want to use with R, so I wrote the Fortran Code
and built the dll with MS Fortran Powerstation. In every subroutine I want to
export I wrote a statement like this:

!ms$attributes dllexport :: abc
!ms$attributes alias:'abc' :: abc
       end interface

abc is the name of the subroutine i want to export.

Then i compiled the file using:

  fl32 /LD test.f

The Fortran Compiler didn't produce any error or warning and produced a file

In R I type

R didn't produce any error too, but when I type

R says "function name not in load table".

Does anyone know what's going wrong or how to solve the problem?

Thank you,
Thomas Dick
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