Sebastian Luque wrote:
Dear List,
I've tried to set default par() in .Rprofile by putting the following in the .First function:
setHook(packageEvent("graphics", "onLoad"), function(...) {graphics::par(cex.axis=1.5, cex.lab=2, las=1)} )
My goal was to set par() defaults without opening a device everytime at startup. However, the next plot I create doesn't show these defaults. Any suggestions? Thanks in advance.
OS = GNU/Linux Debian R version = 2.0
The par settings are for the current device. You have to apply them after a device has been opened.
What you want is a device function like
mydevice() that opens a device and sets the par() stuff, I guess.
Uwe Ligges
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html