[R] re-sampling of large sacle data

David Winsemius dwinsemius at comcast.net
Wed Jul 28 13:49:44 CEST 2010


On Jul 28, 2010, at 12:09 AM, jd6688 wrote:

>
>
> d <- apply(s, 2, sample, size = 10000*nrow(s), replace = TRUE)
>
> why the code above return the following error
> Error: cannot allocate vector of size 218.8 Mb

Possibilities:
Your workspace is full of other junk?
Your workspace used to be full of other junk and its memory is too  
fragmented to find a contiguous chunk of memory?
Your computer is full of other junk?
You have not read the R-FAQ ( or the RW-FAQ ) items on the the topic  
of memory usage on whatever operating system you are working with.

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list