[R] R Graphics Device margins

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Dec 9 19:21:12 CET 2008

Without the reproducible example asked for it is hard to tell, but
?text.rpart did say

      ...: Graphical parameters may also be supplied as arguments to
           this function (see 'par').  As labels often extend outside
           the plot region it can be helpful to specify 'xpd = TRUE'.

Might that be the issue (rather than your subject line)?

On Tue, 9 Dec 2008, Metcalfe, John wrote:

> Hello,

> I am relatively new to R and am using it to run Classification and 
> Regression Tree analysis. My only issue at this point is that numbers 
> are always cut off on the lower nodes. I've tried changing the margins 
> with
> mai=c(0, 0.5, 0.5, 0) but this has not so far worked.
> Any suggestions would be appreciated.
> Best,
> John Z. Metcalfe, M.D., M.P.H.
> Division of Pulmonary and Critical Care Medicine
> University of California, San Francisco
> San Francisco General Hospital
> ______________________________________________
> 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.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list