Peter.Watkins@foodscience.afisc.csiro.au
2005-Jun-06 23:48 UTC
[R] Porting Matlab code to R
Hello, I'm looking at porting code written for Matlab to R. However, I don't have sufficient knowledge of Matlab to know whether it's feasible or appropriate. If there is anyone who has any experience in this and could provide some advice, I'd be grateful. TIA, Peter [[alternative HTML version deleted]]
Peter, I haven't used this package, but have you seen: http://www.omegahat.org/RMatlab/ Sean ----- Original Message ----- From: <Peter.Watkins at foodscience.afisc.csiro.au> To: <r-help at stat.math.ethz.ch> Sent: Monday, June 06, 2005 7:48 PM Subject: [R] Porting Matlab code to R Hello, I'm looking at porting code written for Matlab to R. However, I don't have sufficient knowledge of Matlab to know whether it's feasible or appropriate. If there is anyone who has any experience in this and could provide some advice, I'd be grateful. TIA, Peter [[alternative HTML version deleted]] ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Peter.Watkins at foodscience.afisc.csiro.au wrote:> Hello, > > > > I'm looking at porting code written for Matlab to R. > > However, I don't have sufficient knowledge of Matlab to know whether > it's feasible or appropriate. > > If there is anyone who has any experience in this and could provide some > advice, I'd be grateful. > > > > TIA, PeterI guess this depends on what the Matlab code is for and what it does, whether it uses any commercial toolboxes etc. I recently ported some Matlab code fairly easily, with the exception of the parts of the Matlab code requiring a toolbox I didn't have access to. You might find Rob Hankin's R and Octave contributed document, which lists many Octave (Matlab) functions and their R equivalents: http://cran.r-project.org/doc/contrib/R-and-octave-2.txt I found this very helpful. HTH Gavin