Thanks for the advice I've received.
FYI - It turns out that the problem was connected to the way R handles
pipes and FIFOs, compared to the way the socat command does. (I don't
know exactly what, but trying different things solved it!)
I found that if you use FIFO() in R AND set up a FIFO connection in a
terminal and then use SOCAT to communicate, it becomes reliable (at
least for sending commands to a UDP connection). I wasn't sure what
exactly a FIFO connection was like (not that much info), but it worked.
I'll try getting data FROM the UDP connection at another time.
Next - figure out how to build a multi-dimensional array i.e.
data(x,y,z...) with different-sized dimensions. I've got a "system"
kludged together that does it (putting the data into a OpenOffice
spreadsheet), but I'd rather have R do the work. That's this evening's
experimentation/lesson!
Bob
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.