[R] Data Exchange with StatDataML for MATLAB

David Meyer david.meyer at ci.tuwien.ac.at
Mon Dec 4 18:16:49 CET 2000


The e1071-group is developping a data exchange package based on XML,
called StatDataML.

Both read and write functionality is available for R/S and
MATLAB/Octave.

Now here is a snapshot from the "StatDataML for MATLAB/Octave"-package.
It should work fine, but the installation procedure needs some
improvement yet.

I think the following will nevertheless make it run:

1. Get libxml 2.x from www.xmlsoft.org and install

2. Get the file:  matoct.tar.gz from www.ci.tuwien.ac.at/~meyer/
and un-tar it in some tmp-dir.

3. make shure that LDFLAGS and CPPFLAGS are set correctly for libxml

3. run:
configure
make MATLAB
from within the "matoct"-directory

In the subdirectory "matlab", you should obtain: StatdataML.dtd,
some .m files and a
readsdml.mex?? file 

4. run matlab and change your searchpath accordingly

5. try "help writesdml" and "help readsdml" to see the command options.

Normally, something like

writesdml (object, 'out.sdml')

or

object = readsdml ('out.sdml')

should work.

-d


-- 
Mag. David Meyer			Wiedner Hauptstrasse 8-10
Technical University of Vienna		A-1040 Vienna/AUSTRIA
Department for Statistics, Probability	Tel.: (+431) 58801/10772
Theory and Actuarial Mathematics	mail: david.meyer at ci.tuwien.ac.at
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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