[R] Problem reading binaries created with fortran
Don MacQueen
macq at llnl.gov
Fri Dec 18 17:20:38 CET 2009
However, source code is available at
http://water.usgs.gov/nrp/gwsoftware/modflow2005/modflow2005.html
so it would seem that the details are available.
-Don
At 4:35 PM -0500 12/17/09, kapo coulibaly wrote:
>Duncan,
>I couldn't find clear details about the way fortran writes the binaries. I
>was hoping someone here has done it before. But the hexView package seems
>like a great idea i'll give it a shot.
>
>Thanks a bunch
>
>On Thu, Dec 17, 2009 at 4:02 PM, Duncan Murdoch <murdoch at stats.uwo.ca>wrote:
>
>> On 17/12/2009 3:48 PM, kapo coulibaly wrote:
>>
>>> Is it possible to read fortran binaries with R? I tried unsucessfully and
>>> my
>>> understanding is that fortran write binaries with leading and trailing
>>> bytes. I get numbers but not the right ones.
>>> Thanks
>>>
>>> ps: the binary I'm interested in reading is a MODFLOW output with a mix of
>>> character, double and integers.
>>>
>>
>> One other thing: the hexView package does a very nice job of displaying
>> the file, so you can work out what the structure is if the documentation is
>> unclear (or nonexistent).
>>
>> Duncan Murdoch
>>
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://*stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://*www.*R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062
More information about the R-help
mailing list