[R] Limit on vector evaluation
Robert Barber
robert.barber at comcast.net
Sat Apr 28 01:13:35 CEST 2007
Dear R Experts,
Why I try to run this expression:
x<-sapply(rnorm(rep(10,100000),mean=9,sd=1.5),mean)
it evaluates the first 10000 values and then stops, but does not return
to the command prompt. My cpu keeps running at 100%. When I exit the
expression with CTL-C, I then see that x holds 10000 values. How can I
evalute the expression 100000 times, or more if I want?
Thanks in advance.
More information about the R-help
mailing list