R.NET and Web application

Aug 22, 2015 at 4:56 PM
I have an R script that can be run easily using the following code:

public DataFrame RunXCMS()
        REngine engine = REngine.GetInstance();
        DataFrame testData = engine.Evaluate("read.csv('filepath)").AsDataFrame();
        return testData;

However, when I call this function using a web app one of the modules that need to load with the script fails to load

Error: Unable to load 'mzR' which needs to be loaded with the XCMS package.

Why does it work when I launch it from Console App but not Web app?

Aug 23, 2015 at 1:34 AM
This is a common issue encountered when using R.NET in conjunctions with ASP.NET

I just added some documentation about it in the new documentation site, page http://jmp75.github.io/rdotnet/tut_asp_dot_net/

Aug 23, 2015 at 10:16 PM