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

New Post: R Engine Reuse (re-initialize)

$
0
0
I cannot the quote, but I think Kosei mentions somewhere as a known limitation that the R engine cannot be initialised twice in the same process. In real applications, i.e. beyond a bit of code called within a "using ( Rengine engine = etc." C# statement, one needs to initialise the R engine once during the main process lifetime. The reference to the REngine may be static of an object property, but there needs to be only one REngine instance, and concurrent access should be carefully controlled. R is largely not thread safe.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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