Re: [R] any way to set defaults for par?

From: Greg Snow <Greg.Snow_at_imail.org>
Date: Mon, 14 Jul 2008 14:04:42 -0600

Write a function that opens a new graphics window (quartz in your case) then changes the parameters to what you want as the default. Then any time you want/need a new graphics window, call your function.

Also look at ?options and scroll down to 'device' and ?Startup

Hope this helps,

--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow_at_imail.org
(801) 408-8111




> -----Original Message-----
> From: r-help-bounces_at_r-project.org
> [mailto:r-help-bounces_at_r-project.org] On Behalf Of Carl Witthoft
> Sent: Sunday, July 13, 2008 4:31 PM
> To: r-help_at_r-project.org
> Subject: [R] any way to set defaults for par?
>
> I know how to set graphic parameters by calling par(), but
> what I'd like is a way to set the default values so that
> subsequent calls to par() use my defaults. The reason to
> want this is that every time I create a new graphic window
> (I'm using quartz on OSX, and so far no answers in the Mac
> mailing list), my parameters get reset to the builtin defaults.
> I read about the "unexported variable .Pars," but would like
> to know if there's any way to manipulate that variable.
>
> thanks
> Carl
>
> ______________________________________________
> 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.
>
______________________________________________ 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 14 Jul 2008 - 20:09:32 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 14 Jul 2008 - 20:33:47 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