help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: data exchange with R?


From: Thomas Hoffmann
Subject: Re: data exchange with R?
Date: Thu, 15 Jun 2000 08:51:34 +0200 (METDST)

> i was wondering if anyone knows about some data exchange scripts between 
> R and octave.  there is something incipient in the R package e1071 which 
> permits R to read a (the first) matrix from an octave data file.  
> R handles complete data.frames which is like a database table where each 
> column has its own name and data type and they get saved all together as 
> an ASCII matrix.  
Because the data types of R and Octave are not fully equivalent (only
matrices up to 2 dims, no "factors" in Octave ...), you have to limit yourself
to a subset of the types or have to invent a translation mechanism.  For quick
reading of Octave (ASCII) data into R, read.table() with its options may be
sufficient.  Look for scan() and read.fwf(), too.


=============================================================================
Thomas Hoffmann, Institut fuer Halbleiter- und Mikrosystemtechnik, TU Dresden
E-mail:  address@hidden



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]