[R] importing data into R from matlab

S.McClatchie s.mcclatchie at niwa.cri.nz
Wed Nov 29 04:26:29 CET 2000


Colleagues

Has anyone out there developed a routine for importing matlab data into 
R? 
(if you are not familiar with matlab, see 
<http://www.mathworks.com/products/tech_computing/>

A sub-question concerns importing structured variables from matlab. 
Although you can save variables as an ascii file from matlab, you cannot 
write a structured variable in matlab into an ascii file without first 
converting the structured variable to an unstructured form. Superficially 
the structured variable in matlab corresponds to the data frame concept 
in S dialects.

Since matlab is widely used in oceanography, physics and acoustics it 
might be useful (and interesting?) for someone out there to create a data 
import function for matlab to R that incorportates the structured variable 
to data frame conversion.

Or perhaps one already exists?

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list