Re: [Rd] How to execute R scripts simultaneously from multiple threads

From: Erik van Zijst <>
Date: Fri 05 Jan 2007 - 09:58:41 GMT

Hi Martin,

Your approach of bolting a webservices layer on top of R is a really nice (and quite natural) thing to do.

I appreciate your early announcement in response to our thread and I'd very much like to be kept in the loop of future announcements, so please add my address to your list.

As you already suggested, webservices are fairly expensive with their HTTP and XML-parsing, making it less suitable for many small invocations. However, it makes an ideal fit in most other environments. Webservices adoption has come a long way, so I expect it to easily find its way into the enterprise (is it GPL-licensed?).


Martin Morgan wrote:
> Vladimir, Jeff, et al.,
> This is more pre-publicity than immediately available solution, but
> we've been working on the 'RWebServices' project. The R evaluator and
> user functions get wrapped in Java, and the Java exposed as web
> service. We use ActiveMQ to broker transactions between the front-end
> web service and persistent back-end R workers. The workers rely on
> SJava to wrap and evaluate R.
> Some of the features and opportunities of this system are: strongly
> typed functions in R (using the TypeInfo package); native R-Java
> translation (using SJava and our own converters); programmatic
> interface (i.e., as web services; this benefits from use of S4 as a
> formal class system); scalable computation (through addition of more /
> specialized workers in ActiveMQ); and access to Java-based tools
> available for web service deployment. Creating web services can be
> nearly automatic, once the R functions are appropriately typed. Mostly
> our focus has been on big-data computation, which might be orthogonal
> to the needs of the original post.
> We will provide more information at the Directions in Statistical
> Computing conference in mid-February, so please drop me a line if
> you'd like to be kept up-to-date.
> Martin

<< WAIT >>

______________________________________________ mailing list
Received on Fri Jan 05 21:01:11 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 05 Jan 2007 - 13:31:03 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.