[R] how to wait after plotting in BATCH mode?

Jonas Stein news at jonasstein.de
Sun Nov 25 14:15:23 CET 2007

when i plot with the following command on console:
$ R CMD BATCH cp_messung.R

in the R-script i wrote x11() in the beginning, so it draws a nice plot on
my screen.

But sadly it disappeares after a second or two. How can i make it to wait
until i press a key or something?

thank you.

kind regards,

Jonas Stein <news at jonasstein.de>

More information about the R-help mailing list