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

David Winsemius dwinsemius at comcast.net
Thu Aug 5 13:55:53 CEST 2010


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.
>
<snipped>
> 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 MB be very feasible?

No. This suggests very strongly that you have not taken the time to  
read the RW-FAQ. R has become sufficiently popular that a Google  
search bring it up as the first hit to a search on: "RW FAQ"

http://cran.r-project.org/bin/windows/base/rw-FAQ.html

>
> Best,
> Ralf
>
> ______________________________________________
> 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.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list