Displaying 1 result from an estimated 1 matches for "myfoofifo".
2012 Dec 09
1
Making fifo work (Linux)
...xample in the documentation works OK..
zz <- fifo("foo-fifo", "w+")
writeLines("abc", zz)
print(readLines(zz))
close(zz)
unlink("foo-fifo")
But when I tryu my code to *read* and *block*, id does not work.
P <- "Myfoofifo"
C <- fifo(P, "r", blocking=TRUE)
If Myfoofifo does not exist this has an error:
> C <- fifo(P, "r", blocking=TRUE)
Error in fifo(P, "r", blocking = TRUE) : cannot open the connection
In addition: Warning message:
In fifo(P, "r", blocking = TR...