Accessing R packages from asp.net

陌路散爱 提交于 2019-12-12 00:56:20

问题


I have an asp.net app where I am using R.NET. Everything works fine until I load a package using

library()

The web app of course runs in IIS and I get this error

Error: package or namespace load failed for 'lattice'".

Though it loads and works perfectly fine in Rstudio.

Its some problem of R.NET not working with IIS.

I have been searching around and it has been marked as a Known Issue on https://rdotnet.codeplex.com/. I was wondering if any one has found a workaround for this error.

I went through https://github.com/jmp75/rdotnet/issues/9 but it did not work for me.


回答1:


The documentation page http://rdotnet.github.io/rdotnet/ts_asp_dot_net/ describes a problem very similar to yours. Can you read it, and its companion page http://rdotnet.github.io/rdotnet/tut_asp_dot_net/, and report here if this solves your issue? (for future reference by other readers)



来源:https://stackoverflow.com/questions/32623923/accessing-r-packages-from-asp-net

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!