This has been asked before. Please search the archives for the full range
of solutions. You can bring up a dialog box to ask the user to click when
done, for example.
On Sun, 10 Nov 2002, Richard [iso-8859-15] Müller wrote:
> I hope this is my last stupid question for this project. I run (WinXP)
Rcmd*
> BATCH ToDo.R and want the produced graph to be seen on the display. But
after
> a part of a second the graphics window is closed again. I suppose, because
> Rcmd does not work interactive, there will be no command like "wait
for key
> pressed" or similar. Is there a possibility to let the window open as
long as
> the user wishes?
> (Rcmd is called from a macro within a spreadsheet file to display a graphic
> based on this spreadsheet)
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._