[R] ERP software
Duncan Murdoch
murdoch at stats.uwo.ca
Thu Jul 5 22:38:10 CEST 2001
On Thu, 5 Jul 2001 11:50:07 -0600 (MDT), you wrote in message
<Pine.GSO.4.30.0107051146130.3217-100000 at goldhill.cgd.ucar.edu>:
>I think you're missing the point about *realtime* ...
>
>opening and reading a static file is one thing -- having event-driven
>reads (i.e. potentially asynchronous reads) directly from the instrument
>is another.
If the instrument can be opened as a Unix file, then connections
should work, as should the older Rstreams. You don't have event
driven programming in R, but you can tell your R code to run a loop
where it tries to read the next input from the instrument. If there's
nothing available, it will block until the data arrives, just like
"cat" or any other Unix utility would.
See ?connections for help.
Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list