Re: [R] set par options once for entire R session

2015-06-25 Thread Jim Lemon
Hi Martin, Depending upon what device parameters you want to set, you can write a wrapper for the device call that includes the parameters: my.x11<-function() { x11(family="sans",font=2) } Then just call the wrapper instead of the device function. You could make a little package with all of the

Re: [R] set par options once for entire R session

2015-06-24 Thread MacQueen, Don
The Details section of ?par starts of with: "Each device has its own set of graphical parameters." (So this is not Mac-specific.) Strictly speaking, the options you set with par() are not "reset" when you open a new graphics device. Rather, when a new device is opened, it is initialized with de

Re: [R] set par options once for entire R session

2015-06-23 Thread Bert Gunter
Martin: One simple approach: write your own graphics functions that are simple wrappers to the plot functions you use that set the par() values as you wish. You could even put them in a package that is loaded at startup. See ?Startup My understanding is that so long as a graphics device remains o