[R] Conversion of Matlab code to an R code

Roy Mendelssohn - NOAA Federal roy.mendelssohn at noaa.gov
Mon Mar 23 16:31:52 CET 2015

On Mar 23, 2015, at 8:10 AM, Abhinaba Roy <abhinabaroy09 at gmail.com> wrote:

> Hi,
> Can a Matlab code be converted to R code?
> I am finding it difficult to do so.
> Could you please help me out with it.
> Your help will be highly appreciated.

If you mean something that can do an automatic conversion I am unaware of any such program.  However, if you Google, say:

“Matlab R comparison”

you will find many links, such as “R For Matlab Users"


which can guide you through converting the code.



"The contents of this message do not reflect any position of the U.S. Government or NOAA."
Roy Mendelssohn
Supervisory Operations Research Analyst
Environmental Research Division
Southwest Fisheries Science Center
***Note new address and phone***
110 Shaffer Road
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.

More information about the R-help mailing list