[Rd] lm() appears to fail with large number of variables (PR#744)

r@marksmucker.com r@marksmucker.com
Wed, 22 Nov 2000 21:29:00 +0100 (MET)

Full_Name: Mark Smucker
Version: 1.1.1
OS: Windows NT
Submission from: (NULL) (


I have a data frame with 11 observations and 603 variables.

When I call,

    willRaw.fit <- lm( performance ~ ., data=willRaw )

lm() runs without problems, but computes coefficients for
only the first 10 variables.  The remaining variables
get a coefficient of NA.

There are no NA values in the data frame.  performance
is one of the columns of the data frame.  I'd be happy
to email the data file (gzip'd or zip'd).

My apologies if I've done some stupid (yes, I know it's
not wise to fit a model to 603 variables, but I was
just playing around).



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