This project is read-only.

R.NET and Web application

Aug 22, 2015 at 5: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 2: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

Aug 23, 2015 at 11:16 PM