MATLAB/R Reference
Here is the current version of my MATLAB/R Reference in PDF form. I wrote the initial version of this during Spring 2007, as I learned R while teaching my Modeling and Simulation course (I’d previously used only MATLAB for prior versions of the course). I have since continued to add to it. The reference is ideally suited for someone who is already good in one package and is trying to read code in or learn the other. It may also be useful as a reference (not a tutorial) for someone learning one of the packages, even with no experience in the other.
Note: I have not abandoned this document, although I have been too busy to update it lately. I do have a collection of updates to apply at some point in the future.
I have also published a book inspired by this document: R and Matlab, Chapman and Hall / CRC, 2015, ISBN 9781466568389. The book goes into more detail on things only briefly mentioned in this PDF, such as reading/writing data from/to files, working with lists and cell arrays, the differences in writing functions between the two platforms, and so on. (Before publishing the book, I made it clear to the publisher that I would continue to maintain this freely available document; they are fine with that.)