Greg Snow-2 wrote: > > The playSudoku function in the sudoku package has 2 examples/methods of > responding to single key strokes, whether those methods will work for your > application or not depends on what you are trying to do. > >
Thanks, Greg, it boils down to the rather basic getGraphicsEvent(prompt = "Waiting for input", onMouseDown = NULL, onMouseMove = NULL, onMouseUp = NULL, onKeybd = NULL) in grDevices; so no tclk needed. Strange that nobody told me.... Dieter -- View this message in context: http://n4.nabble.com/Single-character-input-without-Enter-tp1564153p1569460.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.