[R] using R for a reaction-time experiment
Mike Lawrence
Mike.Lawrence at DAL.CA
Mon Jul 23 14:30:01 CEST 2007
Psych grad student here, R user for 3 years. Using R for experiments
is likely not advisable as it has no fine control of display timing
(ex synching stimuli to the screen refresh, etc). On recommendation
of colleagues I'm learning the Python language, which has a module
called 'pygame' that is fantastic for psych experiments.
Mike
On 22-Jul-07, at 1:38 PM, Seth Roberts wrote:
>
> I want to use R to run a reaction-time experiment: Something
> appears on the
> screen, I respond by typing something (one keystroke), the system
> measures
> the speed of my response. R would be great for this if only I
> didn't have to
> hit Enter to enter that keystroke. I am doing such experiments now
> but they
> require two actions per trial: hit keystroke, hit Enter.
>
> Is there some way that R can be made to respond to a single
> keystroke (other
> than Enter)?
> --
> View this message in context: http://www.nabble.com/using-R-for-a-
> reaction-time-experiment-tf4125643.html#a11732474
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> 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.
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
Website: http://memetic.ca
Public calendar: http://icalx.com/public/informavore/Public
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
More information about the R-help
mailing list