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

New Post: Running two REngines in parallel

$
0
0
Hello Danobri,

No, that is not a reasonable conclusion. It is true that R can only have one instance per process. "Per process" is the operative phrase here.
Look at Microsoft's WCF technology. I wrote a R-Host application that I can launch and communicate with via a named pipe.
Connect each instance of R-Host to a thread and you have a pool. Or you can launch, execute and close the R-Host with each web request.
It is not difficult and it works well in my production environment.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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