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

______________________________________________
R-help@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.

Reply via email to