Re: [R] R on an ASUS eee PC, continued - installing packages

From: Peter Dalgaard <>
Date: Mon, 16 Jun 2008 14:28:41 +0200

Prof Brian Ripley wrote:
> On Mon, 16 Jun 2008, Peter Dalgaard wrote:
>> Millo Giovanni wrote:
>>> The only thing I wish I were able to do now is to have the graphics
>>> windows defaults changed to a size fitting the small 9'' screen, as now
>>> I have to reduce it and move it to the right by hand every time to
>>> reproduce the results of 'windows>tile" in Windows. If anybody can
>>> help...
>> That'll be something like X11.options(width=4,height=4,pointsize=8) in
>> your ~/.Rprofile
> You need grDevices::X11.options, and it is better to use a load hook like
> setHook(packageEvent("grDevices", "onLoad"),
> function(...)
> grDevices::X11.options(width=4,height=4,pointsize=8)
> )
Thanks, Brian.

Obviously, I haven't used this for a while and overlooked the example in the Examples section of ?Startup.

I do wonder if there are ways to make this less easily overlooked, though. Pointers in any or all of ?x11, ?X11.options, and ?Devices could help, but maybe we need it in an introductory document like R-intro, along with the discussion of Rprofile files in "Customizing the environment".

> There is another way to set the geometry, to set X11 resources as
> described in ?X11. I have in my ~/.Xresources
> R_x11*geometry: 700x700-0+0
> (for a 22" 90dpi screen, not a 9" one)
That doesn't help with the pointsize, does it? (Quite crucial on low-res screens, even at 1024x768, 12.3" I find that the default pointsize=12 is a bit much.)


   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (              FAX: (+45) 35327907

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 16 Jun 2008 - 12:46:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Jun 2008 - 16:30:44 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive