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

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Nov 8 10:39:42 CET 2007


NB: you posted part of a private message (out of context: it was in reply 
to another message) to R-help.  Both posting a private message without 
permission and not giving the necessary context are breaches of copyright 
law, and rather annoying -- see the posting guide for details.

On Wed, 7 Nov 2007, 8rino-Luca Pantani wrote:

> I would like to improve my knowledge on the matter, but I cannot find
> url in your posts.
> Did I miss something ?
> Or you mean that you have added the url in the help page ?

Well, what else can ?X11 refer to in the context of R?

R-patched and R-devel now say:

      The standard X11 resource 'geometry' can be used to specify the
      window position and/or size, but will be overridden by values
      specified as arguments.  The class looked for is 'R_x11'.  Note
      that the resource specifies the width and height in pixels and not
      in inches.  See for example <URL:
      http://web.mit.edu/answers/xwindows/xwindows_resources.html> and
      perhaps 'man X' (or <URL:
      http://www.xfree86.org/current/X.7.html)>. An example line in
      '~/.Xresources' might be

      R_x11*geometry: 900x900-0+0

      that specifies a 900 x 900 pixel window at the top right of the
      screen.

A 'proper' X11 installation has the information about the geometry on the 
X man page (perhaps in section 7), but it seems missing on recent Linux 
systems.


> Thanks
> 8rino
>
> Prof Brian Ripley ha scritto:
>>
>> I added an example (and a reference url) to ?X11 yesterday, since it
>> seems knowledge of X11 resources is scarcer than it used to be.

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list