Re: [R] bi-directional sockets

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Thu 19 Oct 2006 - 21:27:45 GMT

Try grepping for socket in the R directory in the source of either of those packages.

On 10/19/06, Grateful Frog <gratefulfrog@gmail.com> wrote:
> Thanks for your answer, but I wasn't able to find anything that looked like
> an example of sockets in either of those packages. I guess I must be even
> dumber than I previously thought!
>
> Any help would still be welcome.
>
>
> On 10/19/06, Gabor Grothendieck <ggrothendieck@gmail.com> wrote:
> > 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 07:36:32 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 - 22:30:11 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.