Re: [R] Error: cannot allocate vector of size xxx

2011-09-22 Thread Mario Montecinos Carvajal
Paul I tested your suggestion of use the BIGLM package. With this package, model run with out any problem. regards 2011/9/22 David Winsemius > > On Sep 22, 2011, at 5:00 PM, Mario Montecinos Carvajal wrote: > > Michale and Paul >> >> Thanks for your quick response. >> >> Michael, I am runnin

Re: [R] Error: cannot allocate vector of size xxx

2011-09-22 Thread Mario Montecinos Carvajal
David Thanks for the time that you spent in read and understand my mail, as well as for your response and recomendations. I apologize if my attempt to put comment in my code, not was enought. I appreciate a lot your suggestion and I will take care of change the variable name "length" for avoid co

Re: [R] Error: cannot allocate vector of size xxx

2011-09-22 Thread David Winsemius
On Sep 22, 2011, at 5:00 PM, Mario Montecinos Carvajal wrote: Michale and Paul Thanks for your quick response. Michael, I am running a 32bit version of R sessionInfo() R version 2.11.1 (2010-05-31) i386-pc-mingw32 Paul, the dimension of the Data Frame with I am workis is dim(d) [1] 7017

Re: [R] Error: cannot allocate vector of size xxx

2011-09-22 Thread Mario Montecinos Carvajal
Michale and Paul Thanks for your quick response. Michael, I am running a 32bit version of R > sessionInfo() R version 2.11.1 (2010-05-31) i386-pc-mingw32 Paul, the dimension of the Data Frame with I am workis is dim(d) > [1] 7017411 And the size of the file that contains the data is 2946

Re: [R] Error: cannot allocate vector of size xxx

2011-09-22 Thread Paul Hiemstra
On 09/22/2011 04:00 AM, R. Michael Weylandt wrote: > Are you running a 32bit or 64bit version of R? Type sessionInfo() to see. > > Michael ...in addition, how large is your dataset? Please provide us with a self contained example which reproduces this problem. You could take a look at the biglm

Re: [R] Error: cannot allocate vector of size xxx

2011-09-21 Thread R. Michael Weylandt
Are you running a 32bit or 64bit version of R? Type sessionInfo() to see. Michael On Sep 21, 2011, at 10:41 PM, Mario Montecinos Carvajal wrote: > Hi > > I am a new user of the mail list. > > Mi problem occurs when I try to test a lineal model (lm), becouse appear the > messaje "Error: cann

[R] Error: cannot allocate vector of size xxx

2011-09-21 Thread Mario Montecinos Carvajal
Hi I am a new user of the mail list. Mi problem occurs when I try to test a lineal model (lm), becouse appear the messaje "Error: cannot allocate vector of size xxx" The data frame whit I am working, Have > dim(d) [1] 7017411 and the function i am test is: lm(length~as.factor(age)*as.fact

Re: [R] Error: cannot allocate vector of size xxx Mb

2010-08-05 Thread David Winsemius
On Aug 5, 2010, at 3:53 AM, Ralf B wrote: I am dealing with very large data frames, artificially created with the following code, that are combined using rbind. When running memory.limit() I am getting this: memory.limit() [1] 2047 Which shows me that I have 2 GB of memory available. What

Re: [R] Error: cannot allocate vector of size xxx Mb

2010-08-05 Thread Petr PIKAL
Hi I am not an expert in such issues (never really run into problems with memory size). >From what I have read in previous posts on this topic (and there are numerous) the simplest way would be to go to 64 byte system (Linux, W Vista, 7), where size of objects is limited by amount of memory o

Re: [R] Error: cannot allocate vector of size xxx Mb

2010-08-05 Thread Ralf B
Thank you for such a careful and thorough analysis of the problem and your comparison with your configuration. I very much appreciate. For completeness and (perhaps) further comparison, I have executed 'version' and sessionInfo() as well: > version _ platform i386-pc-mingw32

Re: [R] Error: cannot allocate vector of size xxx Mb

2010-08-05 Thread Philipp Pagel
On Thu, Aug 05, 2010 at 03:53:21AM -0400, Ralf B wrote: > > a <- rnorm(500) > Error: cannot allocate vector of size 38.1 Mb > > When running memory.limit() I am getting this: > > memory.limit() > [1] 2047 > > Which shows me that I have 2 GB of memory available. What is wrong? > Shouldn't 38

[R] Error: cannot allocate vector of size xxx Mb

2010-08-05 Thread Ralf B
I am dealing with very large data frames, artificially created with the following code, that are combined using rbind. a <- rnorm(500) b <- rnorm(500) c <- rnorm(500) d <- rnorm(500) first <- data.frame(one=a, two=b, three=c, four=d) second <- data.frame(one=d, two=c, three=b, fou