@HoochTHX
Thanks for the sample. I set up a reproduction test and started an issue: https://rdotnet.codeplex.com/workitem/45. Somewhat adapted, notably to (close to) version 1.5 of R.NET. I get one run and the graph output, but on returning from the first thread R aborts with a 'C stack too close to the limit', so not the same issue as reported.
Note that I would be very cautious mixing multi-threading and the R engine. While I think the intent of the code is not concurrent multi-threading, even just re-creating the engine several times may not work.
Thanks for the sample. I set up a reproduction test and started an issue: https://rdotnet.codeplex.com/workitem/45. Somewhat adapted, notably to (close to) version 1.5 of R.NET. I get one run and the graph output, but on returning from the first thread R aborts with a 'C stack too close to the limit', so not the same issue as reported.
Note that I would be very cautious mixing multi-threading and the R engine. While I think the intent of the code is not concurrent multi-threading, even just re-creating the engine several times may not work.