[R] R as a server on Linux

2007-04-24 Thread Markus Loecher
Hi, I am trying to avid the somewhat costly startup overhead of launching a separate R executable for each client request on Linux. My current architecture is such that My Java client explicitly calls R in batch mode and passes it certain parameters. The initital startup takes almost 10 seconds

Re: [R] R as a server on Linux

2007-04-24 Thread Dirk Eddelbuettel
On Tue, Apr 24, 2007 at 02:15:43PM -0400, Markus Loecher wrote: Hi, I am trying to avid the somewhat costly startup overhead of launching a separate R executable for each client request on Linux. My current architecture is such that My Java client explicitly calls R in batch mode and passes

Re: [R] R as a server on Linux

2007-04-24 Thread Gregory Warnes
Hi Markus, Take a look at RSOAP (http://rsoap.sf.net). It was designed for handling concurrent client connections to R, and minimizes the per- connection startup time by pre-starting R and forking of processes as requests come in. Each client can maintain a stateful connection, if

Re: [R] R as a server on Linux

2007-04-24 Thread Martin Morgan
RWebServices http://wiki.fhcrc.org/caBioc/ offers a more structured approach to this -- map R functions and data classes to their Java representation, expose Java as a web service, service requests using persistent R workers. Martin Markus Loecher [EMAIL PROTECTED] writes: Hi, I am trying