[R] X11 resources

David Brahm brahm at alum.mit.edu
Fri Nov 15 18:25:02 CET 2002

Ed Kademan <kademan at phz.com> wrote:
> Would it be hard to make the X11 device driver in R accept general X11 
> resources? In particular I would like to be able to set the title of 
> the graphics window when I start it up...

You can install and use "xwit" to modify the R graphics window after it has
been created.  To modify all open X11 graphics devices:
R> system("xwit -name 'Hello world' -names 'R Graphics'")

If you need to specify just the current device:
R> system(paste("xwit -name 'Hello world' -names 'R Graphics: Device ",
+               dev.cur(), "'", sep=""))

I use "xwit" to move the window where I like it (-move option), and it can do
other things as well.  Download it from <ftp://ftp.x.org/contrib/utilities/>.
                              -- David Brahm (brahm at alum.mit.edu)
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