[R] bi-directional sockets

Gabor Grothendieck ggrothendieck at gmail.com
Thu Oct 19 20:05:53 CEST 2006


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 at 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 at 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.
>



More information about the R-help mailing list