On 08.02.2012 17:14, oluwole oyebamiji wrote:
Hi all,
      I want to do a linear regression with lm package in MASS, my data is 
59199 rows by 29 column.
I got this error message can not allocate a vector of size 1.5Gb.
I have read some of the previous related posting on this but I couldnt still 
got it right.

Calculate the size of you model matrix. If the 29 columns are numeric, this should be a peace of cake, hence you probably model interactions or you are dealing with factors with several levels, so that you model matrix is huge. We cannot know that.

Uwe Ligges



I have an Ubuntu machine of 64bit and 4Gb ram.

Any suggestion please.

Oyebamiji Oluwole








________________________________
        [[alternative HTML version deleted]]




______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to