Skip to content
Prev 4952 / 15075 Next

changing default device settings (was strange behaviour when quitting)

This does seem a lot of work to do something that could be done better 
by

     setHook(packageEvent("grDevices", "onLoad"),
              function(...) grDevices::quartz.options(pointsize=9))

Changing cex will not do the same thing, and 'pointsize' is the preferred 
way to scale all the text (and line spacings etc) for a plot device.

You could also have

newq <- function() { quartz() ; par(cex=0.75)}
options(device=newq)

or similar.
On Tue, 22 Jul 2008, Prof Brian Ripley wrote: