Displaying 1 result from an estimated 1 matches for "thefifo".
2010 Jan 13
0
reading fifo with read.table hangs
...a
EOF
unlink chops
fi
# 2 Works but with an unexpected open call
if [[ $DO_2nd =~ [yY][eE][sS] ]] ; then
echo "With R 2"
mkfifo chops
gawk 'BEGIN {for (i=0;i<8;i++){print i}}' > chops &
R --slave --no-save <<EOF
print ("Hello from R 2")
theFifo <- fifo(description="chops", open="read")
open(theFifo) # without this read.table raises error of no lines available
con.data <- read.table (theFifo)
close(theFifo)
con.data
EOF
unlink chops
fi
# 3 Works - just for reference
if [[ $DO_3rd =~ [yY][eE][sS] ]] ; then...