[Rd] anova-bug in R-version 1.0.0? (PR#470)

Prof Brian D Ripley ripley@stats.ox.ac.uk
Mon, 6 Mar 2000 18:02:18 +0000 (GMT Standard Time)


On 6 Mar 2000, Peter Dalgaard BSA wrote:

> dtrenkler@nts6.oec.uni-osnabrueck.de writes:
> 
> > Under R version 0.6.51  the following 
> > 
> > A_c(13,9,15,5,25,15,3,9,6,12)
> > B_c(42,24,41,19,27)
> > C_c(8,24,9,18,9,24,12,4)
> > D_c(9,12,7,18,2,18)
> > kaeufe_c(A,B,C,D)
> > region_factor(rep(1:4,c(10,5,8,6)),labels=LETTERS[1:4])
> > anova(lm(kaeufe~region))   
> > 
> > delivers
> > 
> > Analysis of Variance Table
> > 
> > Response: kaeufe
> >           Df  Sum Sq Mean Sq F value   Pr(>F)    
> > region     3 1474.65  491.55  8.7852 0.000376 ***
> > Residuals 25 1398.80   55.95                     
> > ---
> > Signif. codes:  0  `***'  0.001  `**'  0.01  `*'  0.05  `.'  0.1  ` '  1
> > 
> > 
> > This is what I expected. Under RW 1.0.0 I get
> > 
> > Analysis of Variance Table
> > 
> > Response: kaeufe
> > Error in print.coefmat(x, digits = digits, signif.stars = signif.stars,
> > : 
> >         binary operator applied to invalid types
> > 
> > Am I doing something wrong or is this a real bug?
> 
> It's not happening on Unix... Does this happen when starting from a
> blank workspace?

It is also not happening on rw1000. Is your .Rprofile (if any) valid?
Try starting with --vanilla.

BDR

-- 
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

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._