[Rd] Fwd: Using Rserve

From: D0c <kanglin_at_gmail.com>
Date: Mon 13 Jun 2005 - 14:16:43 GMT

Hey Simon, I wish i had a choice of platform,... but i don't. Yes i'd like to know when Rserve is ready, send me some code.

On 6/11/05, Simon Urbanek <simon.urbanek@r-project.org> wrote:
> Hi D0c,
>
> On Jun 11, 2005, at 12:57 PM, D0c wrote:
>
> > Hey is there a more consistent way of connecting to Rserve. I have
> > code that opens a connection to Rserve by executing explicitly
> > using Java runtime ( "C:\Program Files\R\r20XXX\Rserve.exe" ).
>
> In principle this is ok, but you need to make sure you read the
> output stream of that process. (BTW: this is also probably the
> easiest way to find out when Rserve is ready and preventing timeout
> error). If you need help with that, let me know and I dig out a class
> I have around somewhere which does percisely that.
>
> > However when i run the app and attempt to connect, it does not
> > connect imediately.I have to close the app and open it again for a
> > few times before i get a connection.
> > Am i doing something wrong?
>
> The other thing you're doing wrong is that you're using Windows ;) j/k
>
> Cheers,
> Simon
>
>



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Jun 14 00:26:27 2005

This archive was generated by hypermail 2.1.8 : Mon 24 Oct 2005 - 22:27:18 GMT