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

New Post: Running two REngines in parallel

$
0
0
frankyhollywood wrote:
ok, did a lot of testing with http://rservecli.codeplex.com/ This actually does what I want. It's not a wrapper around r.dll, but it communicates with rserve. It works for me!
I know this tread is long dead, but still..
In response to frankyhollywood: I agree. I've tested a long time with R.NET myself, and trying to get it work in multiple threads in C#, but no success.

With RServe on windows, you can spawn multiple RServe processess (each with a distinct portnumber), locally or remotly.
Then, you can access these processess in parallel with 'backgroundworkers' in C# (one job, for each worker and each worker has a distinct rserve connection/port) .
You can use these binaries: https://github.com/SurajGupta/RserveCLI2 to plug into your c# application.

Viewing all articles
Browse latest Browse all 1634

Trending Articles