在Matlab中调用R脚本 [英] Call R scripts in Matlab

查看:332
本文介绍了在Matlab中调用R脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在MATLAB程序中调用R脚本?我该怎么办?

Is it possible to call R scripts in a MATLAB program? How can I do that?

推荐答案

使用R(D)COM和Matlab R-link一段时间后,我不推荐这样做. COM接口在解析许多命令时遇到麻烦,并且很难调试代码.我建议使用Matlab中的系统命令,如 R Wiki .

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 R Wiki.

这篇关于在Matlab中调用R脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆