[R] bi-directional sockets
Gabor Grothendieck
ggrothendieck at gmail.com
Thu Oct 19 23:27:45 CEST 2006
Try grepping for socket in the R directory in the source of
either of those packages.
On 10/19/06, Grateful Frog <gratefulfrog at 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 at 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 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