[R] Keeping a graphics window active at the end of a rterm batch session (was Question)
ripley at stats.ox.ac.uk
Fri Jun 21 09:49:34 CEST 2002
Search the archives, as this has been answered before. Please use an
informative subject, so other people can use search on *your* questions.
The short answer is to call a dialog box at the end of your script asking
to finish the session: see ?winDialog
On Fri, 21 Jun 2002 Lacen at EOS-GmbH.de wrote:
> once again I have a question. Maybe someone can help me.
> I call in my programm (VC++) the Rterm.exe via "Rterm.exe --no-restore
> --no-save < example.R >example.Rout".
> In example.R :
> temperaturfeld <- read.table(file.choose(), header = TRUE, sep= "",
> comment.char = "#")
> temperaturmatrix <- data.matrix(temperaturfeld)
> image(x,y,temperaturmatrix,axes=TRUE, xlab= "Matrix-row",
> Now my problem:
> How you see, I open in example.R a window via windows() to display the
> image(....), but Rterm.exe closes after executing all example.R commands and
> I want to keep the window active, so that I can use the window-menue.
> Which command can I use in example.R or what else can I do that I can keep
> the window active?
> Thanks for helping me.
> Ales Lacen
> e - mail: lacen at eos-gmbh.de
> 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
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
More information about the R-help