On Mon, Jan 16, 2012 at 12:09 AM, Duncan Murdoch
<murdoch.dun...@gmail.com> wrote:

> 3.  Find out what name got exported, and use .C instead of .Fortran to call
> that.

 For example, when compiling Fortran subroutines within modules, the
exported name on my system (gcc on Ubuntu of some flavour) becomes
__subroutinename_MOD_modulename. Calling .C on that works, I couldn't
find any variation on that using underscores or not that worked with
.Fortran. The help for .Fortran has a few words on this.

 Stick to FORTRAN-IV or that new kid on the block, FORTRAN77 :)

Barry

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to