Skip to content
Prev 15023 / 63421 Next

Process to both write to and read from (pipe/fork)?

On Tue, Feb 01, 2005 at 01:44:37PM +0000, Prof Brian Ripley wrote:
Ok, thanks -- I really thought (and hoped) that I was just overlooking
something obvious.

I'm not fully convinced that the portability issues necessarily
preclude providing the fork / pipe facilities, as there already is some
differentiation present now, reflected by capabilities(). In fact,
when I saw that availability of fifos is reflected by capabilities(),
I thought that then, more basic pipes must also be accessible somehow
(and spent some effort investigating this idea).
Well, that is probably reasonably easy, but (not the least due to that
fact) I'm still surprised that it has not been done already. I can hardly
imagine that I'm the first one to want to use some external utility from
an R program in this way.

So, what do you R-devel folks do in this case, and what would you
recommend?
At the time of writing, I thought I was asking for help in using R...

Best regards, Jan