Pregunta

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.

¿Fue útil?

Solución

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...

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top