ERP software
I'm not sure that R is the ideal environment to do this sort of thing in. Most labs **have** dedicated software to gather the data from the card. My intention was to use R for the analysis of the data. That's what R was developed for, wasn't it? I'm not even sure how much 'specialized' software for this analysis is needed. Matrix subsetting could be enough for the trial-making, badpass filters, hanning filters, EOG regression and artefact detection don't seem to be a *major* problem. These things could be 'tailored' for ERP study and packaged, and I was wondering if anyone looked into this before. ----- Original Message ----- From: "Prof Brian D Ripley" <ripley at stats.ox.ac.uk> To: "Duncan Murdoch" <murdoch at stats.uwo.ca> Cc: "Tim Hoar" <thoar at ucar.edu>; <r-help at stat.math.ethz.ch> Sent: Thursday, July 05, 2001 10:50 PM Subject: Re: [R] ERP software
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._