[英]R-ASP.NET application deployment in IIS
We have integrated R 3.1.2 with ASP.NET. 我们已经将R 3.1.2与ASP.NET集成在一起。 But after deploying application in IIS 6.0, application is not able to call some of the R packages like RODBC, stats, etc. We are getting following error:
但是在IIS 6.0中部署应用程序之后,应用程序无法调用某些R程序包,例如RODBC,统计信息等。我们收到以下错误:
Error: Package or namespace load failed for stats. 错误:统计信息的程序包或名称空间加载失败。
The same error we are getting for package RODBC. 我们对于包RODBC遇到的相同错误。
IIS 8.5 still same issue. IIS 8.5仍然存在相同的问题。 thanks to "Pravin Mane"
感谢“ Pravin Mane”
right click on My Computer, > properties > Advanced System Setting > Environment Variables, the see in the System Variables window, there is a variable named path.
右键单击“我的电脑”,然后单击“属性”>“高级系统设置”>“环境变量”,在“系统变量”窗口中看到一个名为path的变量。 Select path, click on edit and add the path where R packages have been stored.
选择路径,单击编辑,然后添加存储R包的路径。
One correction - enter in the path variable path to bin folder (64 or 32 bit depends on your appool setting.) enter something like this C:\\Program Files\\R\\R-3.3.2\\bin\\i386\\ IMPORTANT!! 一项更正-输入bin文件夹的路径变量路径(64位或32位取决于您的appool设置。)输入如下内容:C:\\ Program Files \\ R \\ R-3.3.2 \\ bin \\ i386 \\ 重要! Restart the server, just re-starting IIS did not help me and I spent few more hours looking for solution.
重新启动服务器,只是重新启动IIS并没有帮助我,我花了更多时间寻找解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.