خرید بک لینک

Vote count: 0

I am creating a web application and calling r file through R.NET. The issue is if we use engine.dispose(), the next time we run the application it throws error as "Engine is shutdown, caot restart it"

The code works fine if I do not dispose engine, but it consumes lot of memory on multiple executions.

Sample code below:

REngine.SetEnvironmentVariables();

REngine engine = REngine.GetInstance();

engine.Evaluate("//Some code here or calling exteal r file //");

engine.dispose();

Thanks, Prajwal Dsilva

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 24 اسفند 1394 ساعت: 11:40

صفحه بندی