[R] lack of memory for logistic regression in R?

Michael comtech.usa at gmail.com
Mon Jun 15 03:06:22 CEST 2009


Hi all,

I am getting the following error message:

> mymodel = glm(response ~ . , family=binomial, data=C);
Error: cannot allocate vector of size 734.2 Mb
In addition: Warning messages:
1: In array(0, c(n, n), list(levs, levs)) :
  Reached total allocation of 1535Mb: see help(memory.size)
2: In array(0, c(n, n), list(levs, levs)) :
  Reached total allocation of 1535Mb: see help(memory.size)
3: In array(0, c(n, n), list(levs, levs)) :
  Reached total allocation of 1535Mb: see help(memory.size)
4: In array(0, c(n, n), list(levs, levs)) :
  Reached total allocation of 1535Mb: see help(memory.size)

-----------

The data frame is 60000 x 20,

is it too large for R?

What shall I do? Will close all other softwares/applications help? My
PC is Vista with 4GB memory. Thank you.




More information about the R-help mailing list