1

我按照http://homepage.univie.ac.at/erich.neuwirth/php/rcomwiki/doku.php?id=wiki:how_to_install的说明一步一步地为我的 Excel 2013 安装了 Rexcel,我找到了 GUI Excel中没有出现界面。我从他们的示例文档中尝试了 VBA 代码,如下所示:

Sub RexcelDemo()
    RInterface.StartRServer
    RInterface.GetRApply "sin", _
        Range("A2"), Range("A1")
    RInterface.StaopRServer
End Sub

它不起作用,黄色错误指示器出现在第二行。我很困惑:Rexcel 真的适用于 Excel 2013 吗?如果没有,我们是否可以找到任何其他 API 将其替换为 R 和 Excel 之间的连接服务器?

4

0 回答 0