MATLAB R-link

Functions for calling the statistical package R from within MATLAB.
23.4K Downloads
Updated 1 Sep 2016

View License

A COM based interface that allows you to call R functions from within MATLAB. The functions are:
openR - Connect to an R server process.
evalR - Run an R command.
getRdata - Copies an R variable to MATLAB.
putRdata - Copies MATLAB data to an R variable.
closeR - Close connection to R server process.
Rdemo - An example of using R from withing MATLAB.

Cite As

Robert Henson (2026). MATLAB R-link (https://au.mathworks.com/matlabcentral/fileexchange/5051-matlab-r-link), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on R Language in Help Center and MATLAB Answers
Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

Add BSD License

1.0.0.0

Added a "published M-file"