Re: [R] .Fortran()

About this list Date view Thread view Subject view Author view Attachment view

From: Prof Brian Ripley (ripley@stats.ox.ac.uk)
Date: Tue 09 Oct 2001 - 01:07:16 EST


Message-id: <Pine.LNX.4.31.0110081605420.2787-100000@gannet.stats>

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@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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Thu 17 Jan 2002 - 11:10:07 EST