dtrenkler@nts6.oec.uni-osnabrueck.de
2000-Mar-06 15:35 UTC
[Rd] anova-bug in R-version 1.0.0? (PR#470)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@biostat.ku.dk
#
######################################################
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?
Regards,
*** D.Trenkler ***
===================================================================Dietrich
Trenkler (trenkler@oec.uni-osnabrueck.de)
Statistik / Empirische Wirtschaftsforschung
Universitaet Osnabrueck
Rolandstrasse 8 Phone: +49(0) 541-969-2753
D-49069 Osnabrueck Fax : +49(0) 541-969-2745
GERMANY
===================================================================
--please do not edit the information below--
Version:
platform = Windows
arch = x86
os = Win32
system = x86, Win32
status =
major = 1
minor = 0.0
year = 2000
month = February
day = 29
language = R
Windows NT 4.0 (build 1381) Service Pack 3
Search Path:
.GlobalEnv, Autoloads, package:base
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
p.dalgaard@biostat.ku.dk
2000-Mar-06 18:46 UTC
[Rd] anova-bug in R-version 1.0.0? (PR#470)
Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:> > > > 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.The submitter told me in private email that the problem disappeared when starting with a blank workspace, so a critical function probably had been overridden. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._