Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人有在 C++ 中创建 TCP 服务器以调用 R 函数并将结果提供给客户端的经验?
我使用 POCO C++ 库实现了我自己的,但收到一条错误消息,让我看到 RInside 不能在多线程应用程序中使用。
我认为这是无稽之谈。好的,R 本身是单线程的,但应该有一种在 C++ 和 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...