Re: [R] Minimizing Computational Time

2012-10-23 Thread R. Michael Weylandt
On Tue, Oct 23, 2012 at 11:06 AM, Naser Jamil wrote: > Dear R-users, > May I seek some suggestions from you. I have a long programme written in R > with several 'for' loops inside. I just want to get them out by any elegant > way (if there is!) to reduce the computational time of the main programm

[R] Minimizing Computational Time

2012-10-23 Thread Naser Jamil
Dear R-users, May I seek some suggestions from you. I have a long programme written in R with several 'for' loops inside. I just want to get them out by any elegant way (if there is!) to reduce the computational time of the main programme. For instance, is there any smart way for the following prog