Question

Does anyone has an experience in creating a TCP server in C++ for calling R functions and serving the results to the clients?

I implemented my own using POCO C++ libraries, but got an error message which led me to see the fact that RInside can not be used in a multi-threaded application.

I think this is non-sense. Ok, R itself is single threaded but there should be a way of creating a server in C++ and RInside.

Was it helpful?

Solution

You probably want Rserve which has been doing this for a decade, rather than starting something new with our RInside -- though you could look at my RInside/Wt example for a webapp...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top