[R] error message + boot library

Benilton Carvalho bcarvalh at jhsph.edu
Tue Jan 29 06:34:10 CET 2008


I wonder what your sessionInfo() is...

I copied and pasted your example and could not reproduce the problem  
(ie, worked just fine).

b

On Jan 29, 2008, at 12:27 AM, Pedro Mardones wrote:

> Dear all;
>
> What can be wrong with this simple example?
>
> library(boot)
> d1<-c(rnorm(10,mean=10))
> fm<-function(d,i) mean(d[i])
> bd1<-boot(d1,fm,10000)
>
>> Error: evaluation nested too deeply: infinite recursion /  
>> options(expressions=)?
>
> Thanks for any idea



More information about the R-help mailing list