[R] vector size

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Jun 24 12:25:31 CEST 2009



ogbos okike wrote:
> Hi,
> I have a data of size 981.1MB(1028707715) and I intend to calculate the
> length of the data using tapply function in R. I was able to read the data
> into R but when I tried to use the factor function, I had an error message
> "Error: cannot allocate vector of size 2.0 Gb".
> Can anybody tell me what to do? I have tried to increase the size of the
> memory but I am not sure if R recognizes it as the error message persists.
> Is there any other thing I need to do for R to recognize the memory
> increase?


My guess is that this is a 32-bit version of R?
You need some 64-bit OS and 64-bit R or try to decrease the amount/size 
of objects that are in the same time in your memory.

Best,
Uwe Ligges


> Thank you so much for any help.
> Ogbos
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list