Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-25 Thread Simon Urbanek
Richard, that is not what I had in mind :). Also Rserve 0.x doesn't have built-in HTTP, only the 1.x series does. Unfortunately I don't have any time today to write example code, but I would suggest using HTTP for both - just have a hook that simply accepts serialized R object in the body of th

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-25 Thread Richard D. Morey
On 25/10/12 7:14 PM, Dan Tenenbaum wrote: On Thu, Oct 25, 2012 at 8:45 AM, Richard D. Morey wrote: On 24/10/12 10:55 PM, Simon Urbanek wrote: The point is that you need a separate monitoring process or threads. That process can be R, Rserve or any thing else. Thanks for the tips. This is

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-25 Thread Dan Tenenbaum
On Thu, Oct 25, 2012 at 8:45 AM, Richard D. Morey wrote: > On 24/10/12 10:55 PM, Simon Urbanek wrote: >> >> >> The point is that you need a separate monitoring process or threads. That >> process can be R, Rserve or any thing else. >> >> >> > > Thanks for the tips. This is what I'm currently conte

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-25 Thread Richard D. Morey
On 24/10/12 10:55 PM, Simon Urbanek wrote: The point is that you need a separate monitoring process or threads. That process can be R, Rserve or any thing else. Thanks for the tips. This is what I'm currently contemplating: 1. Main interface starts in user's R session, and opens up the in

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-24 Thread Simon Urbanek
On Oct 24, 2012, at 4:35 PM, Richard D. Morey wrote: > On 24/10/12 10:07 PM, Simon Urbanek wrote: >> On Oct 24, 2012, at 3:47 PM, Richard D. Morey wrote: >> >>> I'd be fine with the poor man's solution (maybe with tempfile()?) if I can >>> get access to the local file via javascript. But I don'

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-24 Thread Richard D. Morey
On 24/10/12 10:07 PM, Simon Urbanek wrote: On Oct 24, 2012, at 3:47 PM, Richard D. Morey wrote: I'd be fine with the poor man's solution (maybe with tempfile()?) if I can get access to the local file via javascript. But I don't think I can, due to the security limitations of the browser. I ma

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-24 Thread Simon Urbanek
On Oct 24, 2012, at 3:47 PM, Richard D. Morey wrote: > > Richard D. Morey > Assistant Professor > Psychometrics and Statistics > Rijksuniversiteit Groningen / University of Groningen > http://drsmorey.org/research/rdmorey > > On 24/10/12 9:23 PM, Simon Urbanek wrote: >> On Oct 24, 2012, at 3:09

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-24 Thread Richard D. Morey
Richard D. Morey Assistant Professor Psychometrics and Statistics Rijksuniversiteit Groningen / University of Groningen http://drsmorey.org/research/rdmorey On 24/10/12 9:23 PM, Simon Urbanek wrote: On Oct 24, 2012, at 3:09 PM, Richard D. Morey wrote: On 24/10/12 8:53 PM, Simon Urbanek wrote:

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-24 Thread Simon Urbanek
On Oct 24, 2012, at 3:09 PM, Richard D. Morey wrote: > On 24/10/12 8:53 PM, Simon Urbanek wrote: >> On Oct 24, 2012, at 2:13 PM, Richard D. Morey wrote: >> >>> This question involves Rook, but I think the answer will be general enough >>> that it pays to post here. At any rate, I don't know enou

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-24 Thread Richard D. Morey
On 24/10/12 8:53 PM, Simon Urbanek wrote: On Oct 24, 2012, at 2:13 PM, Richard D. Morey wrote: This question involves Rook, but I think the answer will be general enough that it pays to post here. At any rate, I don't know enough to know whether this is a Rook only issue or a general R issue.

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-24 Thread Simon Urbanek
On Oct 24, 2012, at 2:13 PM, Richard D. Morey wrote: > This question involves Rook, but I think the answer will be general enough > that it pays to post here. At any rate, I don't know enough to know whether > this is a Rook only issue or a general R issue. > > Here's what I'd like to do (and

Re: [Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-24 Thread Dan Tenenbaum
On Wed, Oct 24, 2012 at 11:13 AM, Richard D. Morey wrote: > This question involves Rook, but I think the answer will be general enough > that it pays to post here. At any rate, I don't know enough to know whether > this is a Rook only issue or a general R issue. > > Here's what I'd like to do (and

[Rd] concurrent requests (Rook, but I think the question is more general)

2012-10-24 Thread Richard D. Morey
This question involves Rook, but I think the answer will be general enough that it pays to post here. At any rate, I don't know enough to know whether this is a Rook only issue or a general R issue. Here's what I'd like to do (and indeed, have code that should do this): 1. Start R, Rook 2. Sta