[R] reading in a Fortran binary array

Alexy Khrabrov deliverable at gmail.com
Tue Apr 8 21:15:59 CEST 2008

Greetings -- I'd like to avoid converting a Fortran array of floats  
into ASCII and back reading it in R.  Furthermore it's much faster to  
dump large arrays in binary, as they take up much less space with full  
precision -- many decimal points take up many bytes in ASCII versus  
four or eight per float in raw. Is there a way to read such a Fortran  
unformatted file back into R?


More information about the R-help mailing list