After using R(D)COM and Matlab R-link for a while, I do not recommend it. The COM interface has trouble parsing many commands and it is difficult to debug the code. I recommend using a system command from Matlab as described in the <a href="http://rwiki.sciviews.org/doku.php?id=tips:callingr:matlab">R Wiki</a>. This also avoids having to install RAndFriends.
Great script. Very useful to document a scene with subplots. However, it crashes if no supAxes is supplied and no visible axe is in the figure. This case happens if, for example, a figure is composed of subplots filled with images with imshow.
19 Sep 2014
Exports figures nicely to a number of vector & bitmap formats.