[R] rterm.exe and graphics windows

Mike Prager mprager at alum.mit.edu
Sun May 19 20:58:01 CEST 2002

I have started using R 1.5.0 on Windows 2000. The refinement of this system 
in such a short time is astounding, and I thank those who have worked on it 
and made it available!

I have been using rterm.exe to develop R scripts in my preferred editor 
(not emacs) by sending the command

rterm.exe --save < %f

where the editor substitutes the filename for %f.  This works wonderfully, 
and the editor captures the output in a process buffer!  One drawback is 
that even though rterm (unlike sqpe) can start a graphics window, it is 
closed at the end of the script, so I never get to look at the graph.  I 
have been writing the graph instead to a png file and using system() to 
open a graphics viewer from the script, but I would like to avoid that 
kludge. Can I force the graphics window to stay open until a key is struck?


Mike Prager  (mprager at alum.mit.edu)
Beaufort, North Carolina

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