[R] ERP software
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Thu Jul 5 22:50:17 CEST 2001
On Thu, 5 Jul 2001, Duncan Murdoch wrote:
> 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.
You can also have non-blocking connections in 1.3.0, especially on fifos
(but only on Unix). I am not sure we have the optimal semantics, so
feedback on this would be welcome (on R-devel, I think as it can be very
technical).
> See ?connections for help.
>
> Duncan Murdoch
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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