简体   繁体   English

使用R.NET加载xlsx包

[英]Load xlsx package using R.NET

I'm trying to load the xlsx package to read the excel file engine.Evaluate("load(xlsx)"); 我正在尝试加载xlsx包以读取excel文件engine.Evaluate("load(xlsx)"); However, an stackoverflow exception is thrown. 但是,抛出了stackoverflow异常。 So, do we have any ways to load a R package or how can we read an excel file using r.net ? 那么,我们有没有办法加载R包或者我们如何使用r.net读取excel文件?

Thank you. 谢谢。

您需要使用library来加载和附加R中的包,而不是load

There have been some recent updates to R.NET in the past month, including fixes for compatibility with R 3.5+. 在过去的一个月里,R.NET最近有一些更新,包括与R 3.5+兼容的修复程序。 If you are not running the latest version (currently 1.8.2), I would recommend updating from NuGet or getting the latest code: https://github.com/rdotnet/rdotnet 如果您没有运行最新版本(目前为1.8.2),我建议您从NuGet更新或获取最新代码: https//github.com/rdotnet/rdotnet

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM