[R] Re: Matlab to R ?

David Meyer david.meyer at ci.tuwien.ac.at
Fri Oct 4 12:41:12 CEST 2002


Another (complementary) issue might be data exchange, at least for more
complex data not fitting in a simple .csv format.

I think this can be done using `StatDataML' (the R part is on CRAN):
in addition to the R package, there are read and write functions
available both for MATLAB and octave producing/reading StatDataML which
will probably appear somewhere on omegahat in the near future (I can
provide a snapshot if anybody would like to play with it).

David.

Martin Maechler wrote:
> 
> >>>>> "Robin" == Robin Hankin <r.hankin at auckland.ac.nz>
> >>>>>     on Fri, 4 Oct 2002 08:51:23 +1200 writes:
> 
>     Robin> Hello Michel a good place to start would be
>     Robin> R-and-octave.txt, on the contributed section of CRAN
>     Robin> (Octave is the free version of Matlab).
> 
>     Robin> This shows how common Matlab idioms translate to R.
> 
> and I assume you have seen Paul Gilbert's reply, giving "ex"
> translations of a few idioms.
> 
>     Robin> There seem to be more and more people interested in
>     Robin> porting from Matlab/octave to R.  How about a
>     Robin> specialist mailing list?
> 
> I think a few interested people should "sit together" (in cyberspace)
> and try to improve on the current state.
> I've included John Eaton, the author of GNU octave (the free
> matlab `substitute'), because he certainly knows more about the
> matlab "syntax" than any of us (and Kurt who once new a lot
> about octave).
> 
> Probably everyone agrees that a Matlab -> R translation cannot
> (and probably should not) be automated to full extent.  On the
> other hand, Paul Gilbert's "ex" script should be made into a
> perl or python {or "octave" !?} script and could be enhanced
> considerably, probably.
> 
> It could help matlab/octave users switch to R.
> Another reason I'm interested to some extent is the
> Statistics+Matlab community & software ("Wavelets", "Smoothers" etc)
> where I would like us to get better connected to.
> 
>     Robin> How about a specialist mailing list?
> 
> Not sure if this is needed and makes sense;  I have already set up a dozen
> R-SIG-* (R Special Interest Group in ****) mailing lists and
> only a few are somewhat active.
> But then it may make sense for a short time?
> 
>     MichelA> I have a matlab program. I would like to transfer code in
>     MichelA> R. Is there any translator ?  Thanks for your help
> 
> --
> Martin Maechler <maechler at stat.math.ethz.ch>    http://stat.ethz.ch/~maechler/
> Seminar fuer Statistik, ETH-Zentrum  LEO C16    Leonhardstr. 27
> ETH (Federal Inst. Technology)  8092 Zurich     SWITZERLAND
> phone: x-41-1-632-3408          fax: ...-1228                   <><
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-- 
	Mag. David Meyer		Wiedner Hauptstrasse 8-10
Vienna University of Technology		A-1040 Vienna/AUSTRIA
         Department of			Tel.: (+431) 58801/10772
Statistics and Probability Theory	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