Re: [R] bi-directional sockets

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Thu 19 Oct 2006 - 18:05:53 GMT

Check out these packages:
- Ryacas (on omegahat) -- sockets between R and yacas - mimR (on CRAN) -- sockets between R and mim (Windows only)

On 10/19/06, Grateful Frog <gratefulfrog@gmail.com> wrote:
> Hello R-helpers!
>
> I am new to R, but having a rough time with the socketConnection function. I
> cannot seem to get bi-directional communication to work. I have tried loads
> of possible ways, based on the manual's examples, but the result is always
> one or the other process hanging.
>
> Could anyone give me a working example of R code that:
> - creates a socket,
> - listens for data ,
> - reads the data,
> - writes a reply.
>
> Without hanging or causing the sending process to hang.
>
> I would greatly appreciate any help.
>
> thanks,
> gf:
http://gratefulfrog.net
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri Oct 20 04:17:26 2006

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 Thu 19 Oct 2006 - 20:30:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.