We have integrated R 3.1.2 with 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:
Error: Package or namespace load failed for stats.
The same error we are getting for package RODBC.
IIS 8.5 still same issue. thanks to "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. Select path, click on edit and add the path where R packages have been stored.
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!! Restart the server, just re-starting IIS did not help me and I spent few more hours looking for solution.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.