Skip to content

Making fifo work (Linux)

2 messages · Worik R, Jeff Newmiller

#
Your problem seems to be unfamiliarity with this operating-system-specific feature. You should be reading the OS documentation (e.g. "man fifo" and learning how to use the feature in general before using it in R. (Hint: off-topic here.)

Some words to the wise: Make sure you test with two processes, one for reading, one for writing (this is not a storage medium, it is an inter-process communication mechanism). Make sure you define a specific number of lines (e.g. 1) when you read unless you want to wait until the writing process closes the fifo.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
Worik R <worikr at gmail.com> wrote: