Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
R.Net 在 Windows 窗体应用程序中使用网络文件路径时抛出错误。
engine.Evaluate("source('\\\\Something.x.y.z.edu/SomeLocation/SomeFile.R');");
如果我尝试source('\\\\Something.x.y.z.edu/SomeLocation/SomeFile.R');在 R 或 RStudio 中运行该行,则相同的语句有效。
source('\\\\Something.x.y.z.edu/SomeLocation/SomeFile.R');
任何想法或建议表示赞赏。谢谢你。
你可能需要在 C#
engine.Evaluate("source('\\\\\\\\Something.x.y.z.edu/SomeLocation/SomeFile.R');");
使字符串
"source('\\\\Something.x.y.z.edu/SomeLocation/SomeFile.R');"
传递给 R。