[R] Waiting for Key input

Petr Klasterecky klaster at karlin.mff.cuni.cz
Wed Mar 7 06:46:41 CET 2007


?browser
?readline

Petr

Saptarshi Guha napsal(a):
> Hi,
> 	I have another question. Is there any command that waits for key input?
> 	I am running R on OS X, so getGraphicsEvents doesn't work.
> 	I have put some debug print messages in a function and would like to  
> pause the code every time the message is printed and continue on a  
> keypress.
> 
> 	Thank you
> 	Saptarshi
> 
> Saptarshi Guha | sapsi at pobox.com | http://www.stat.purdue.edu/~sguha
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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.
> 

-- 
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic



More information about the R-help mailing list