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. ______________________________________________ R-help@stat.math.ethz.ch 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.