Subject: Re: Error in plot.aov() (PR#356) (fwd)
Date: Fri 03 Dec 1999 - 17:16:42 EST
Confirmation from John Maindonald.
-- Brian D. Ripley, email@example.com 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 <firstname.lastname@example.org> To: email@example.com Subject: Re: Error in plot.aov() (PR#356)
Brian, you wrote -
> On Thu, 2 Dec 1999 firstname.lastname@example.org 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 : email@example.com 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: firstname.lastname@example.org _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:11 EST