Re: [R] Can I get rid of this for loop using apply?

From: hadley wickham <h.wickham_at_gmail.com>
Date: Wed, 23 Apr 2008 19:47:02 -0500

On Wed, Apr 23, 2008 at 7:31 PM, Mike Dugas <mikedugas77_at_gmail.com> wrote:
> Thanks for the help. That explains why my time testing showed no
> difference. Is there any way to speed up the program? It is unbearably
> slow if I increase the number of loops.

Could you explain exactly what you're trying to do with your code? It's a little hard to understand.

Hadley

-- 
http://had.co.nz/

______________________________________________
R-help_at_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.
Received on Thu 24 Apr 2008 - 00:49:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Apr 2008 - 02:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive