[Rd] Using TCP/IP sockets in R

Dirk Eddelbuettel edd at debian.org
Tue Aug 15 21:00:02 CEST 2006


On 15 August 2006 at 14:31, Mark Schultz wrote:
| Hi All:
|   I've examined the R documentation on sockets and while I can probably
| figure it out with a bit of experimentation, I wondered if anyone has
| some sample code they could send me. I'd like to use R
| as a statistics server to python clients. Is ist possible to have a
| multithreaded server in R?

Are you aware of Simon's Rserve project at http://www.rosuda.org/Rserve/ ?
It already has Java and C++ client code -- it would be nice if you could
add Python client code to this project.  It is not multithreaded [ as R's
core isn't, this isn't easily achievable ] but allows several properly
separated connections at the same time [ when running on Linux/Unix ]. 

Cheers, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



More information about the R-devel mailing list