Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

New Post: What is the best way to prevent memory being corrupted when calling from c# ?

$
0
0
@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.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>