File Exchange

image thumbnail

MATLAB R-link

version 1.1.0.1 (129 KB) by Robert Henson
Functions for calling the statistical package R from within MATLAB.

22.1K Downloads

Updated 01 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 (2021). 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

Community Treasure Hunt

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

Start Hunting!