[R] Question

Lacen@EOS-GmbH.de Lacen at EOS-GmbH.de
Fri Jun 21 09:32:45 CEST 2002


Hallo,
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)
	windows()
	image(x,y,temperaturmatrix,axes=TRUE, xlab= "Matrix-row",
ylab="Matrix-column")

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. 

Question:
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list