[R] Confused with default device setup

Gang Chen gangchen6 at gmail.com
Wed Oct 15 23:31:07 CEST 2008

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

> Sys.getenv("R_DEFAULT_DEVICE")

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


More information about the R-help mailing list