Greetings,
I have the following simple function but what worries me is that it takes about
5 or more minutes to execute. My machine runs on windows with 1.8GHz and 256
Ram.
> Re=NULL
> for(i in 1:100000){
+ x=rnorm(20)
+ Re[i]=(x-2*10)/20
+ Re
+ }
I would appreciate any help on how to make it faster.
Usman
___________________________________________________________
now.
[[alternative HTML version deleted]]
______________________________________________
[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.