Skip to content

R crashes for large formulas in lm() (PR#8180)

1 message · Ken Knoblauch

#
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.