當我通過R.net(從C#代碼輸入數據)運行R腳本時,出現「下標越界」錯誤。奇怪的是,如果我通過excel提供相同的輸入數據時運行Rscript,它運行良好!任何想法爲什麼會發生?我從C#代碼發送「vardata」。 * ***Error in my.data.var.mat.1st[Pos.loc] <- my.data.var.1st :
subscript out of bound
我正在嘗試使用R.Net版本1.5.5(從NuGet加載)在R Language中創建一個「Hello World」示例。不幸的是,我沒有看到任何在線樣本的工作。 這就是我已經做: 安裝Microsoft R Open 3.2.4, the enhanced R distribution 安裝R Tools for Visual Studio(R版本3.2.4(2016年3月16日)) 創建的R項
的定義我複製了代碼直接從文檔http://jmp75.github.io/rdotnet/tut_basic_types/ REngine.SetEnvironmentVariable()和REngine.GetInstance()都給予編譯器錯誤說「RDotNet。 REngine'不包含定義。 我安裝了nuget軟件包R.Net版本1.5.5,我正在運行一個c#控制檯應用程序。 using S
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using Outlook = Microsoft.Office.Interop.Outlook;
using Office = Microsoft.Office.Cor