[Rd] glm() in R (PR#1457)
Peter Dalgaard BSA
13 Apr 2002 18:16:02 +0200
> I was using R for logistic regression modeling (glm() with binomial
> family) and have noticed that it' can't handle more than 100 predictors
> (reports syntax error)
> Is it a bug, or a language restiction ?
> I would be very grateful if you let me know possible ways around the
> problem, as I need R for problems with many attributes.
> Thank you,
If you get a syntax error, then I wouldn't expect that glm() itself is
causing it. More likely, you are exceeding the line length limit in
the parser. Try splitting your command over several lines, or use
simplified formulas like glm(V1~.,data=d,family=binomial).
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (firstname.lastname@example.org) 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: email@example.com