[R] Is it possible to modify the position of the graphic window ?

Rolf Turner r.turner at auckland.ac.nz
Tue Nov 6 20:47:01 CET 2007


On 7/11/2007, at 6:39 AM, Prof Brian Ripley wrote:

> Better to use resources.  But you can use (in .Rprofile)
>
> options(device=function() x11(xpos=-1))
>
> The resources version would be to put in ~/.Xresources something like
>
> R_x11*geometry: 700x700-0+0

	Neither of these options appears to have any effect under Mac OSX.
	I run R from the command line from a terminal window (not from the GUI)
	and I have X11 installed so that in R

		> x11()

	does indeed put up a graphics window.  But it always puts it (the  
initial
	window) in exactly the same place, irrespective of my having put the
	specified line in ~/.Xresources before starting R, or having issued the
	specified options() command immediately after having started R (before
	issuing the x11() command).

	It's no big deal --- I'm reasonably happy with the default position  
of the
	window.  I just hate it when a computer refuses to follow  
instructions, with
	no explanation. :-(

			cheers,

				Rolf Turner

P. S.:

 > sessionInfo()
R version 2.6.0 (2007-10-03)
i386-apple-darwin8.10.1

locale:
C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] misc_0.0-2

loaded via a namespace (and not attached):
[1] rcompgen_0.1-15


######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}



More information about the R-help mailing list