Re: [R] Calling R from fortran

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Wed 13 Jul 2005 - 10:05:49 EST

Michael Prager wrote:

> I don't know if R can easily read Fortran unformatted (sometimes called
> "binary") data, or how.

Yes, it's fairly easy. You would use a file() connection, and readBin(). The only tricky part might be figuring out exactly what is the R equivalent to what your fortran is writing.

Duncan Murdoch



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 13 10:09:18 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:35 EST