Colleagues, Thanks for the suggestions concerning reading matlab files into R 1. Regarding documentation for the format of matlab files, please see two manuals that I picked up from the matlab websites. The name of the files are: api_guide.pdf api_ref.pdf Use your web browser to access these files in my FTP directory <ftp://ftp.niwa.cri.nz/incoming/mcclatchie> under the appropriate subdirectory (\DDE). (You should be able to just point and click (if not, copy the URL into the browser URL field). If the file you want won't load straight into the application program (due to log filename for example), save the file to disk first. This documentation should give sufficient information for developing routines for dynamic data exchange in an application program interface (I hope). 2. Regarding using netCDF as an intermediate format between matlab and R, I investigated the URL that Brian Ripley found and followed download instructions for the NetCDF Toolbox for Matlab <http://crusty.er.usgs.gov/~cdenham/MexCDF/nc4ml5.html#STEPS>. However in searching CRAN Package sources as well as StatLib, I did not see any routines for creating netCDF from R. At the risk of looking silly, have I missed them? Sam Sam McClatchie, Research scientist (fisheries acoustics)))))))))) NIWA (National Institute of Water & Atmospheric Research Ltd) PO Box 14 901, Kilbirnie, Wellington, New Zealand s.mcclatchie at niwa.cri.nz /\ ...>><xX(?> // \\ /// \\\ //// \\\\ /// <?)Xx><< ///// \\\\\\ ><(((?> >><(((?> ...>><xX(?>O<?)Xx><< -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
matlab to R / 2
2 messages · S.McClatchie, Thomas Lumley
On Thu, 30 Nov 2000, S.McClatchie wrote:
However in searching CRAN Package sources as well as StatLib, I did not see any routines for creating netCDF from R. At the risk of looking silly, have I missed them?
It's under src/contrib/devel because it currently only reads, not writes. The file is netCDF_1.0-1.tar.gz -thomas 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._