maechler@stat.math.ethz.ch
2000-Jun-26 13:50 UTC
[Rd] lm.{w}fit(x,y,*) : fails when x has no column names (PR#582)
(and bug.report() with vanilla setting is *REALLY* horrible inside ESS ... !)> X <- matrix(rnorm(10),5,2) > y <- rnorm(5) > w <- rnorm(5)^2> lm.fit (x=X, y=y) ##-> errorError in names<-.default(*tmp*, value = c("", "", "")) : names attribute must be the same length as the vector> lm.wfit(x=X, y=y, w=w) ##-> errorError in names<-.default(*tmp*, value = c("", "", "")) : names attribute must be the same length as the vector>-- Now, since help(lm.fit) and help(lm.wfit) really do not contain any information on these, one could argue that the above is not a bug. However as build blocks for programming (many regressions), these functions *should* work reasonably generally. (I'm trying to fix this bug myself). Martin -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._