R closes down while running the code described below.
How i can get it to crash on your PC, i do not know...

-Hallgeir Grinde



>
> While using lm(y~(x*z*c*...*v)^2) R crashes/closes if the numbers of 
variables
> are at least 8.

OK, let's try to reproduce that:

> x1 <- runif(1000)
> x2 <- runif(1000)
> x3 <- runif(1000)
> x4 <- runif(1000)
> x5 <- runif(1000)
> x6 <- runif(1000)
> x7 <- runif(1000)
> x8 <- runif(1000)
> y <- rnorm(1000)
> fit <- lm(y~(x1*x2*x3*x4*x5*x6*x7*x8)^2)
No crash, a quite reasonable fit.

Can we please have a reproducible example, as we do ask?

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



                                NOTICE
               Please immediately e-mail back to sender 
               if you are not the intended recipient. 

               Thereafter delete the e-mail along with 
               any attachments without making copies. 

               Elkem reserves all rights of privilege, 
               confidentiality and copyright.


        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to