frankyhollywood wrote:
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.
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.