saveR('FILENAME') saves all workspace variables to the "R-file" named FILENAME.
SAVER('FILENAME', 'X', 'Y', 'Z') saves X, Y, and Z.
saveR can handle scalars, vectors, matrices, and cell arrays of strings. NaN's are saved as NA. Since R cannot handle structures, they will not be saved and a warning will be given.
Useful if you do not wish to load variables directly in R using a COM based interface (using MATLAB R-link #5051) or if you wish to use JAGS (http://sourceforge.net/projects/mcmc-jags), for instance.
Zitieren als
Jeroen Janssens (2024). saveR (https://www.mathworks.com/matlabcentral/fileexchange/28370-saver), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Data Import and Analysis > Data Import and Export > Workspace Variables and MAT-Files >
- MATLAB > External Language Interfaces > Other languages > R Language >
Tags
Quellenangaben
Inspiriert von: MATLAB R-link
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |