search for: playsudoku

Displaying 5 results from an estimated 5 matches for "playsudoku".

2006 Jan 06
2
sudoku
Any doubts about R's big-league status should be put to rest, now that we have a Sudoku Puzzle Solver. Take that, SAS! See package "sudoku" on CRAN. The package could really use a puzzle generator -- contributors are welcome! -- David Brahm (brahm at alum.mit.edu) [[alternative HTML version deleted]] _______________________________________________ R-packages mailing list
2006 Jan 06
2
sudoku
Any doubts about R's big-league status should be put to rest, now that we have a Sudoku Puzzle Solver. Take that, SAS! See package "sudoku" on CRAN. The package could really use a puzzle generator -- contributors are welcome! -- David Brahm (brahm at alum.mit.edu) [[alternative HTML version deleted]] _______________________________________________ R-packages mailing list
2010 Nov 24
1
Getting user input without hitting enter
Hi, I am writing a function which requires user to enter a single character. Something like: hello<-function(){ input<-scan(n=1,what="a") if(input=="h")cat("Hello") # What goes after the 'if' is completely arbitrary, for simplicity sake I simply put a cat command here. } I want R to automatically finish scanning after the user has entered the 1st
2010 Aug 14
2
detecting a key press
Hi Folks, I'm relatively new to r. I'd like to have a user respond by pressing a 1 or a 2 and determining their choice and the time of response. Previous postings have indicated that keyboard responses can be processed using scan and readline but both seem to wait for the user to also press return. Is there a way to detect the initial key press without requiring them to hit return?
2007 Jul 22
4
using R for a reaction-time experiment
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