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
______________________________________________
[email protected] 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.