[R] par: mar and mgp dead?

Bill Simpson wsi at gcal.ac.uk
Tue Feb 15 15:37:29 CET 2000

I just installed 99.0a, and I can't set mar and mgp:

> par(mar(2,2,.1,.1))
Error in par(mar(2, 2, .1, .1)) : couldn't find function "mar"

I had the same happen with mgp.
Are these bugs or a problem in my installation (everything else seems

Is R core going to kill mar and mgp? If so, how should I fix the
huge margins and huge space between axis title and axis? Try this to see
what I mean:

 x11(width=6, height=6,pointsize=21)
dev.print(horizontal=FALSE,width=6,height=6,pointsize=21, file="junk.ps")

(Maybe this looks OK to you, but to me a huge fraction of the figure is
wasted space that should be devoted to the actual plot)

pointsize is acting like cex, scaling up the margins and axis title

Bill Simpson

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