[R] R and hdf
Thomas Lumley
thomas at biostat.washington.edu
Fri Nov 20 20:10:16 CET 1998
On Fri, 20 Nov 1998 bacon at aerodyne.com wrote:
> Hi,
>
> I've been playing with R for only a few days, so I'm not terribly
> familiar with it yet. Has anyone ever done any work using HDF or
> NetCDF files with R?
Yes. Steve Oncley <oncley at ucar.edu> wrote back in May
You may be interested that almost all of the data we read into S+ is
NetCDF. This has involved writing a bit of C code to link to the Unidata
C library, which we load into S and are then called with .C(). I have
enclosed the comments from our core S+ routine below. Calls to this
routine handle opening multiple files and assigning S+ attributes such
as time and units-of-measure (read from the NetCDF attributes).
All of our code is available upon request (simply because I'm not sure
that it is in shape yet for public distribution). I plan to convert all
of it to R as part of configuring a new laptop next month :)
More recently we have received some HDF support code (I've lost the
message, but I would expect it has been archived). It wasn't included in
R0.63 because it used a lot of gcc-specific features that would break in
standard C compilers.
Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list