This was also posted on R-sig-mac, and I've answered it there.
Please don't cross-post.
On Wed, 15 Oct 2008, Gang Chen wrote:
> When invoking dev.new() on my Mac OS X 10.4.11, I get an X11 window
> instead of quartz which I feel more desirable. So I'd like to set
> the default device to quartz. However I'm confused because of the
> following:
>
>> Sys.getenv("R_DEFAULT_DEVICE")
> R_DEFAULT_DEVICE
> "quartz"
>
>> getOption("device")
> [1] "X11"
>
> What's going on?
>
> Also is file Renviron under /Library/Frameworks/R.framework/Resources/
> etc/ppc/ the one I should modify if I want to change some environment
> variables? But I don't see R_DEFAULT_DEVICE there.
>
> TIA,
> Gang
--
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