I copied the example script (https://rdotnet.codeplex.com/
) to a simple forms application, and it crashed on the REngine engine = REngine.GetInstance(); line giving the error message An unhandled
exception of type 'RDotNet.EvaluationException' occurred in RDotNet.dll Additional information: Error: could not find function "memory.limit"
When copying the same script into a Console application, it runs without error.
Using Visual Studio 2015, R 3.2.2, RDotNet.Community 1.6.5