[R] Conversion of Matlab code to an R code

Marc Schwartz marc_schwartz at me.com
Mon Mar 23 16:30:17 CET 2015


> On Mar 23, 2015, at 10: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.
> 
> Here comes the Matlab code

<snip of code>


Hi,

Not do the conversion automatically, certainly.

I don't know that anyone will volunteer here to convert such a large volume of code, though I could be wrong of course.

That being said, there are two R/Matlab references that you should leverage, if you have not already:

  http://www.math.umaine.edu/~hiebeler/comp/matlabR.pdf

  http://mathesaurus.sourceforge.net/octave-r.html


That might make your job a bit easier.

Regards,

Marc Schwartz



More information about the R-help mailing list