Error: package 'stats' could not be loaded

Sep 14, 2015 at 2:24 PM
i have get Error: package 'stats' could not be loaded.
i search but did't get any solution for that

My Code is :
       REngine.SetEnvironmentVariables();
        using (REngine e = REngine.GetInstance())
        {
            e.Evaluate("library(forecast)");
        }
Please suggest your view.
Developer
Sep 19, 2015 at 5:54 AM
This is likely an issue with determining the proper R_HOME. This has often been the case in particular with multiple R installations. I previously started a troubleshooting page relating to this; could you run the test program and report the output?

Relates to this recent post on stackoverflow