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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 16 Jun 2008 15:50:33 +0100 (BST)

On Mon, 16 Jun 2008, Peter Dalgaard wrote:

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

I've added examples in ?X11.options, ?quartz.options and ?windows.options for now. (?X11 and ?X11.options are the same help page.)

R-intro is slightly odd in that it and not R-admin has startup info, and it is scattered across 3 sections -- but at least one of those references ?Startup.

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

No -- I was really pointing it out for completeness and 'the geometry' was inserted to try to make this clear.

One thing that is a bit odd is that we have ways (two each) to set the initial position of the default device on X11 and Windows, but AFAICS none on Mac OS X.

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

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 16 Jun 2008 - 15:42:03 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:45 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive