[R] need help in pausing a script
R. Michael Weylandt
michael.weylandt at gmail.com
Sun Oct 16 19:58:16 CEST 2011
Perhaps something like this (stolen from the demo() code):
readline("\nType <Return>\t to start : ") # If you don't want the
auto-print "" and are running it interactively, a call to invisible()
might help.
Michael Weylandt
On Sun, Oct 16, 2011 at 12:08 PM, M3Mph15 <d.niemand at onlinehome.de> wrote:
> Hey, I'm new to R. I wrote a script for doing several statistic tests and
> plot. is there any way to add a kind of pause function which halts script
> execution until a key is pressed. Please help fast if you can
>
> --
> View this message in context: http://r.789695.n4.nabble.com/need-help-in-pausing-a-script-tp3909815p3909815.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list