Error in plot.aov() (PR#356) (fwd)
ripley@stats.ox.ac.uk
ripley@stats.ox.ac.uk
Fri, 3 Dec 1999 08:16:42 +0100 (MET)
Confirmation from John Maindonald.
--
Brian D. Ripley, ripley@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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
---------- Forwarded message ----------
Date: Fri, 3 Dec 1999 15:13:42 +1100 (EST)
From: John Maindonald <john.maindonald@anu.edu.au>
To: ripley@stats.ox.ac.uk
Subject: Re: Error in plot.aov() (PR#356)
Brian, you wrote -
> On Thu, 2 Dec 1999 john.maindonald@anu.edu.au wrote:
>
> > The error occurs following the third Hit <Return> below:
> >
> > > y_rnorm(40)
> > > gp_factor(rep(1:4,c(10,10,10,10)))
> > > xx.aov_aov(y~gp)
> > > summary(xx.aov)
> > Df Sum Sq Mean Sq F value Pr(>F)
> > gp 3 0.67 0.22 0.29 0.84
> > Residuals 36 28.30 0.79
> > > coef(xx.aov)
> > (Intercept) gp2 gp3 gp4
> > 0.286147 0.260974 -0.081828 0.126678
> > > plot(xx.aov)
> > Hit <Return> to see next plot:
> > Hit <Return> to see next plot:
> > Hit <Return> to see next plot:
> > Error in as.name(ylab23) : invalid type/length (1/0) in vector allocation
>
> Interesting. There is no plot.aov on my system: this is using plot.lm.
> And I get no error. It could be random, except this has nothing to do with
> the data, only the labelling.
>
> The error message means that ylab23 in NULL. I don't see how that can
> happen with the system version of plot.lm.
>
> My guess is masking. Do you have a local plot.lm? Does this happen if
> you start R with --vanilla?
You are quite right. I had an experimental version of plot.lm()
lying around. I should have thought of that.
Regards
John Maindonald email : john.maindonald@anu.edu.au
Statistical Consulting Unit, phone : (6249)3998
c/o CMA, SMS, fax : (6249)5549
John Dedman Mathematical Sciences Building
Australian National University
Canberra ACT 0200
Australia
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._