[R] graphics

Jim Lindsey jlindsey at alpha.luc.ac.be
Wed Dec 1 18:39:54 CET 1999


> Do we want  par.defaults() for this?
> It would have the same arguments as par()  plus additional
>    device = .Options$device
> with further possibility   
>    device = "all"
> i.e., by default,  par.defaults()  would set things only for the default
> device, but there'd be a possibility to set these for all devices.
> 
> Note that
> -  This would lead to considerable side effects.
>    [Starting a device and setting par()s would not be portable,
>     for complete portability you'd have to first set (or reset) the
>     par.defaults()]
> -  for  device = "postscript", 
>    we could allow further arguments as those of ps.options() and postscript()
>    and e.g. for device = "X11" ( = default on non-gnome Unix),
>    one should allow arguments of X11/x11() such as pointsize, colortype, ...

Is there a strong reason why a call to par with no device active must
open a window? If this 'feature' can easily be removed, then I would
be satisfied as I could then put my default par settings in Rprofile
without a window opening at startup. Of course, the above is a far
better idea but perhaps more difficult to implement.

(By the way, for those on the list who have not had access to all the
discussion about this in the last couple of days, Peter has pointed
out to me that X11 - note capital X - can be redefined in Rprofile so
that pointsize has any desired size. This is now working very well for
me.)

> 
> -----
> 
> When feature requesting: What I have wanted more than once is an
>      par(reset = TRUE)
> which would set all the par()s back to how they were when the device was
> opened.   
> 
>      par.defaults(reset = TRUE)
> 
> would analogously remove all `site/user specific' par defaults
> (effect: as if  par.defaults() was never set).

I'll certainly vote for those.
  Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list