[R] .Fortran()

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Oct 8 17:07:16 CEST 2001


On Mon, 8 Oct 2001, John Bjornar Bremnes wrote:

> I am trying to call some Fortran subroutines using .Fortran(). These
> subroutines have arguments of type 'character', 'real', 'integer', and
> 'integer*2'. Is it impossible to call  subroutines expecting both
> 'character' and 'real' as input?

No, but it is impossible to call those expecting 'integer*2'

See ?.Foreign for what is supported, and note the comments there about
character types: they work on some compilers and not on others.

-- 
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list