使用 RDotNet 时如何加载 'arrow.dll' 的符号?
How to load symbols for 'arrow.dll' when using RDotNet?
我目前正在使用 RDotNet 尝试将镶木地板文件读入 json,如下所示:
StartupParameter rinit = new StartupParameter();
rinit.Quiet = true;
rinit.RHome = "C:/Program Files/R/R-3.6.3";
rinit.Interactive = true;
REngine.SetEnvironmentVariables();
string json = String.Empty;
using (var engine = REngine.GetInstance("C:/Program Files/R/R-3.6.3/bin/i386/R.dll", true, rinit))
{
json = engine.Evaluate("json <- rjson::toJSON(arrow::read_parquet('C:/temp/myFile'))").AsCharacter()[0];
}
然而,大多数时候(是的,它工作了几次)我得到了错误:
"Symbol file not loaded. No symbol file loaded for arrow.dll"
如何确保它始终加载符号?
原来我没有通过R安装arrow包
我目前正在使用 RDotNet 尝试将镶木地板文件读入 json,如下所示:
StartupParameter rinit = new StartupParameter();
rinit.Quiet = true;
rinit.RHome = "C:/Program Files/R/R-3.6.3";
rinit.Interactive = true;
REngine.SetEnvironmentVariables();
string json = String.Empty;
using (var engine = REngine.GetInstance("C:/Program Files/R/R-3.6.3/bin/i386/R.dll", true, rinit))
{
json = engine.Evaluate("json <- rjson::toJSON(arrow::read_parquet('C:/temp/myFile'))").AsCharacter()[0];
}
然而,大多数时候(是的,它工作了几次)我得到了错误:
"Symbol file not loaded. No symbol file loaded for arrow.dll"
如何确保它始终加载符号?
原来我没有通过R安装arrow包