MATLAB R-link

Functions for calling the statistical package R from within MATLAB.
23.2K 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 (2024). MATLAB R-link (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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"