Sarmad
Sarmad

Reputation: 323

Accessing R packages from asp.net

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.

Upvotes: 0

Views: 1721

Answers (1)

j-m
j-m

Reputation: 1539

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)

Upvotes: 2

Related Questions