[R] External call to Watcom F77 version 11

Duncan Murdoch murdoch at stats.uwo.ca
Tue Aug 22 17:18:16 CEST 2000


A colleague is using Watcom F77 version 11 in Windows NT, and wants to
create DLLs callable from R.  (He was previously able to do external
calls from S-PLUS).  Does anyone know what magic is necessary so that
it uses the right calling convention?  In a debugger, it appears it's
using a register-based calling convention, no matter what we ask for,
but we're probably asking in the wrong way.

By the way, is the calling convention used by R's .C and .Fortran
documented in detail somewhere?  I know .C uses cdecl, but what does
.Fortran use?

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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