Hi,
   I just realized that in Matlab, as long as memory is pre-allocated, doing 
for-loop doesn't cost more time than doing things in vector form. 
   But it seems in R, it still cost a lot to do for-loop.  Is there any 
improvement in R that I missed. Thanks a lot. 

Merry Xmas Everyone !

______________________________________________
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.

Reply via email to