From keith at nissimo.net  Wed Feb  2 20:18:45 2005
From: keith at nissimo.net (keith@nissimo.net)
Date: Wed Feb  2 20:18:48 2005
Subject: [Rd] reading data from a pipe() uses 99% CPU (PR#7634)
Message-ID: <20050202191845.CE432E06D@slim.kubism.ku.dk>

Full_Name: Keith L. Frost
Version: R 2.0.1 (Rgui -- Win32)
OS: Windows XP Pro SP2
Submission from: (NULL) (66.162.141.10)


There seems to be a bug in the Win32 implementation of reading data from another
process
which has been started from the pipe() call.  The other process gets starved for
CPU
time --- it takes well over ten times as long to complete as it would if running
from
the same pipe() call, if only the calling (R) process did not read from the
pipe.  I
have tried using readLines() and scan(), and both have the same effect.

This bug seems to be OS-specific:  I have not observed this behavior under
Linux.


[Rd] reading data from a pipe() uses 99% CPU (PR#7634)
keith@nissimo.net