Re: [Rd] RFC: "loop connections"

From: <dhinds_at_sonic.net>
Date: Tue 30 Aug 2005 - 16:46:09 GMT

Gabor Grothendieck <ggrothendieck@gmail.com> wrote:

> Just to be concrete, suppose one wants to run the following as a
> concurrent process to R. (What is does is it implicitly sets x to
> zero and then for each line of stdin it adds the first field of the
> input to x and prints that to stdout unless the first field is
> "exit" in which case it exits. gawk has an implicit read/process
> loop so one does not have to specify the read step. The fflush()
> command just makes sure that output is emitted, rather than
> buffered, as it is produced.)

It seems you're just trying to reinvent fifo and/or pipe connections for interprocess communication. That is not directly related to the problem I wanted to address.


R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Aug 31 02:57:41 2005

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