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

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jun 16 13:08:00 CEST 2008


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)
)

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)


-- 
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