Dear all! Although the Psycho-Toolbox for Matlab is free software, Matlab isn't. I'm planning to do an experiment where it's essentail to travel to the subjects, not let the subjects come to where the Matlab licences are :-( So I need to use a free software for my experiment if I don't want to by an extra Matlab licence (which I don't want to). Did anyone ever try to do presentation of visual stimuli (images, practically, with a little bit of text in my case) with R? I looked into the documentation of rgl, but what's lacking there is (as far as I saw) the possibility to also read (unbuffered) keyboard input. So what I need is: 1. put images onto the (full!)screen (qick) 2. read keyboard input 3. write results (to an R structure, presumably) Any idea, suggestion? Cheers, Christoph. -- Christoph Lange MPI fuer biologische Kybernetik |Phone: +49-7071-601-607| Postfach 2169, D-72012 Tuebingen |FAX: +49-7071-601-616|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christoph Lange wrote: Have you considered DMDX from the Univ. of Arizona http://www.u.arizona.edu/~kforster/dmdx/overview.htm It is a rather capable program, runs on Windows platforms, and may help you with your situation. Ioannis | Dear all! | | Although the Psycho-Toolbox for Matlab is free software, Matlab isn't. | I'm planning to do an experiment where it's essentail to travel to the | subjects, not let the subjects come to where the Matlab licences are | :-( | | So I need to use a free software for my experiment if I don't want to | by an extra Matlab licence (which I don't want to). | | Did anyone ever try to do presentation of visual stimuli (images, | practically, with a little bit of text in my case) with R? I looked | into the documentation of rgl, but what's lacking there is (as far as | I saw) the possibility to also read (unbuffered) keyboard input. | | So what I need is: | | 1. put images onto the (full!)screen (qick) | 2. read keyboard input | 3. write results (to an R structure, presumably) | | Any idea, suggestion? | | | Cheers, | Christoph. | - -- Ioannis Dimakos University of Patras Dept. of Elementary Education Division of Psychology Patras, GR-26500, Greece -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA1uYI+es8s84M8DARAm1OAJ9ELdYYJclj7AboOM8mFT6fQ5ccEwCeI/f+ YqltOvS89aPrLvuIq/mNCyA=TZ65 -----END PGP SIGNATURE-----
Have you considered open source alternatives to Matlab such as Scilab? I know nothing about their capabilities, but Google produced 2410 hits for "Matlab clones", the first of which (http://www.dspguru.com/sw/opendsp/mathclo2.htm) seemed quite useful. hope this helps. spencer graves Christoph Lange wrote:>Dear all! > >Although the Psycho-Toolbox for Matlab is free software, Matlab isn't. >I'm planning to do an experiment where it's essentail to travel to the >subjects, not let the subjects come to where the Matlab licences are >:-( > >So I need to use a free software for my experiment if I don't want to >by an extra Matlab licence (which I don't want to). > >Did anyone ever try to do presentation of visual stimuli (images, >practically, with a little bit of text in my case) with R? I looked >into the documentation of rgl, but what's lacking there is (as far as >I saw) the possibility to also read (unbuffered) keyboard input. > >So what I need is: > > 1. put images onto the (full!)screen (qick) > 2. read keyboard input > 3. write results (to an R structure, presumably) > >Any idea, suggestion? > > >Cheers, > Christoph. > > >
Hi Christoph I have never done such stuff with R (and I don't know, e.g. how good the timing would be, in case you are interested in reaction times and so on) but have a look at www.visionegg.org it's a stimulus-presentation framework, written by Andrew Straw entirely in python and has lots of great features. cheers Christoph P.S please let me know if you succeed with a solution in R! On Mon, 2004-06-21 at 15:27, Christoph Lange wrote:> Dear all! > > Although the Psycho-Toolbox for Matlab is free software, Matlab isn't. > I'm planning to do an experiment where it's essentail to travel to the > subjects, not let the subjects come to where the Matlab licences are > :-( > > So I need to use a free software for my experiment if I don't want to > by an extra Matlab licence (which I don't want to). > > Did anyone ever try to do presentation of visual stimuli (images, > practically, with a little bit of text in my case) with R? I looked > into the documentation of rgl, but what's lacking there is (as far as > I saw) the possibility to also read (unbuffered) keyboard input. > > So what I need is: > > 1. put images onto the (full!)screen (qick) > 2. read keyboard input > 3. write results (to an R structure, presumably) > > Any idea, suggestion? > > > Cheers, > Christoph.-- Christoph Lehmann <christoph.lehmann at gmx.ch>
Dear Christoph, Several people have suggested alternative software, and that may well be the way to go, but if you want to stick with R, then it should be possible to use Tcl/Tk via the tcltk package to do what you want. Whether the result would be sufficiently responsive for your needs is hard to tell without trying it. I hope this helps, John> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Christoph Lange > Sent: Monday, June 21, 2004 8:27 AM > To: R Help List > Subject: [R] Visual stimulus presentation using R? > > > Dear all! > > Although the Psycho-Toolbox for Matlab is free software, Matlab isn't. > I'm planning to do an experiment where it's essentail to > travel to the subjects, not let the subjects come to where > the Matlab licences are :-( > > So I need to use a free software for my experiment if I don't > want to by an extra Matlab licence (which I don't want to). > > Did anyone ever try to do presentation of visual stimuli > (images, practically, with a little bit of text in my case) > with R? I looked into the documentation of rgl, but what's > lacking there is (as far as I saw) the possibility to also > read (unbuffered) keyboard input. > > So what I need is: > > 1. put images onto the (full!)screen (qick) > 2. read keyboard input > 3. write results (to an R structure, presumably) > > Any idea, suggestion? > > > Cheers, > Christoph. >
Speaking of open source alternatives to Matlab, Ben Singer, as I recall, had been working on using the Psycho-Toolbox from octave. I don't know how far he got with that or what he is up to now but his current web page (first hit on google for "Ben Singer") is: http://www.princeton.edu/~bdsinger/ and I'm sure he'd be happy to let you know what he knows about it, if you contacted him. HTH> Have you considered open source alternatives to Matlab such as >Scilab? I know nothing about their capabilities, but Google produced >2410 hits for "Matlab clones", the first of which >(http://www.dspguru.com/sw/opendsp/mathclo2.htm) seemed quite useful. > > hope this helps. spencer graves > >Christoph Lange wrote: > >Dear all! > >Although the Psycho-Toolbox for Matlab is free software, Matlab isn't. >I'm planning to do an experiment where it's essentail to travel to the >subjects, not let the subjects come to where the Matlab licences are >:-( > >So I need to use a free software for my experiment if I don't want to >by an extra Matlab licence (which I don't want to). > >Did anyone ever try to do presentation of visual stimuli (images, >practically, with a little bit of text in my case) with R? I looked >into the documentation of rgl, but what's lacking there is (as far as >I saw) the possibility to also read (unbuffered) keyboard input. > >So what I need is: > > 1. put images onto the (full!)screen (qick) > 2. read keyboard input > 3. write results (to an R structure, presumably) > >Any idea, suggestion? > > >Cheers, > Christoph. > > >____________________ Ken Knoblauch Inserm U 371 Cerveau et Vision 18 avenue du Doyen Lepine 69675 Bron cedex France tel: +33 (0)4 72 91 34 77 fax: +33 (0)4 72 91 34 61 portable: 06 84 10 64 10
Hi Christoph, if you have access to Macs somewhere in your department then you could use Psyscope. At the moment it's running under OS9. The OS X alpha version (I heard that a beta version is on the way) is not perfect yet, but should have no problems with what you intend (present picture, get response): Download the OS9 version at: http://psyscope.psy.cmu.edu/ The OS X Alpha version: http://psy.ck.sissa.it/ Concerning analysis of responses I have had no problems so far feeding Matlab / Octave scripts with the Psyscope data-files and I guess it should be possible with R too. Best, Nathan> Dear all! > > Although the Psycho-Toolbox for Matlab is free software, Matlab isn't. > I'm planning to do an experiment where it's essentail to travel to the > subjects, not let the subjects come to where the Matlab licences are > :-( > > So I need to use a free software for my experiment if I don't want to > by an extra Matlab licence (which I don't want to). > > Did anyone ever try to do presentation of visual stimuli (images, > practically, with a little bit of text in my case) with R? I looked > into the documentation of rgl, but what's lacking there is (as far as > I saw) the possibility to also read (unbuffered) keyboard input. > > So what I need is: > > 1. put images onto the (full!)screen (qick) > 2. read keyboard input > 3. write results (to an R structure, presumably) > > Any idea, suggestion? >----------------------------------------- Nathan Weisz Department of Psychology University of Konstanz P.O. Box D25 D - 78457 Konstanz GERMANY Tel: +49 (0)7531 88- 4612 E-mail: Nathan.Weisz at uni-konstanz.de http://www.clinical-psychology.uni-konstanz.de