Raw Message
Message-ID: <dd66928314c6e.4773c868@usc.edu> Date: 2007-12-27T23:44:40Z From: Tong Wang Subject: Efficiency of for-loop in R 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 !