I haven't tried with Fortran but I did it from a C dll without any problem.
I don't think R would care about what you do in your routine after control
is transfered to it.
Regards
YG
----- Original Message -----
From: "Agus Salim" <a.salim at ucc.ie>
To: <r-help at stat.math.ethz.ch>
Sent: Thursday, November 09, 2000 9:55 AM
Subject: [R] file processing with a FORTRAN subroutine
> Dear all,
>
> Is it possible to call a FORTRAN subroutine which does
> file processing (open an input and write to an output file)
> using the .Fortran command.
>
> FYI, I am using R 1.1.1 for windows,
>
>
> Thanks,
> Agus
>
>
> Agus Salim
> PhD student
> Dept. of Statistics
> University College Cork
> Ireland
> Tel:353-21-4902197
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._