Bruno Jesus a écrit :
> Does anyone know a way of interrupting a loop 
> by pressing a key (besides ctrl-c)?

No hit key solution sorry, but may help :

if (file.exists('zefile')) stop()

allows to stop given zefile is created

______________________________________________
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.

Reply via email to