On 19/06/2008, at 2:38 AM, diver495 wrote:
I ran the simple script bellow and received shoking
Your spelling is pretty shoking too.
results. It was complied
for about 15 seconds !!! on modern Intel Core Duo computer.
i=0;
while(i<5000000)
{
i=i+1;
}
Using Visual Basic I can complete the same script (simple loop of
5000000
itterations) in 0.1 sec.
Is it realy R not suitable for huge computing.
It helps to know what the <expletive deleted> you're doing. E.g.:
> x <- rep(1,5e6)
> system.time(sum(x))
user system elapsed
0.014 0.000 0.014
cheers,
Rolf Turner
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
______________________________________________
R-help@r-project.org 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.