문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top