[R] boot.ci: [Error: cannot allocate vector of size 1.5 Gb]

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Dec 20 15:03:01 CET 2011



On 20.12.2011 06:47, Vikram Bahure wrote:
> Dear R users,
>
> I am getting following error while using boot.ci. I have int.inc function
> with 20000 values. I am generating CI for the sample estimate.
>
> *>    med<- function(x,i) median(x[i])*
> *>    b1<- boot(int.inc,med,2)*
> *>    ci.out<- boot.ci(b1,conf = c(0.95),type = c("bca"))*
> *Error: cannot allocate vector of size 1.5 Gb*
> *
> *
> It would be very helpful to get some insight on this.

Which more insight than the one that RAM available to R is not 
sufficient for such a memory intensive task?

Uwe



>
> Regards
> Vikram
>
> 	[[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