[Rd] R crashes for large formulas in lm() (PR#8180)
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Wed Oct 5 14:01:50 CEST 2005
"Ken Knoblauch" <knoblauch at lyon.inserm.fr> writes:
> Oops, sorry. I didn't notice the ^2...
> Nevermind.
You could still have a point, but with 255^2 terms (all but 255 of
which will be redundant since x^2 == x:x == x in modeling language).
Presumably someone thought that noone in their right mind would
specify 65000 terms...
> ________________
> Have you considered that 8 variables will give you
> sum(choose(8,1:8))
> [1] 255
> terms.
> That's a suspicious number. Have you checked whether there is a limit in
> the code?
>
> -------------------------
> Full_Name: Hallgeir Grinde
> Version: 2.1.1
> OS: Windows XP
> Submission from: (NULL) (144.127.1.1)
>
>
> While using lm(y~(x*z*c*...*v)^2) R crashes/closes if the numbers of
> variables
> are at least 8.
> --
> Ken Knoblauch
> Inserm U371
> Cerveau et Vision
> Dept. of Cognitive Neuroscience
> 18 avenue du Doyen Lépine
> 69500 Bron
> France
> tel: +33 (0)4 72 91 34 77
> fax: +33 (0)4 72 91 34 61
> portable: +33 (0)6 84 10 64 10
> http://www.lyon.inserm.fr/371/
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-devel
mailing list