Re: [R] How to make R running faster

From: Esmail Bonakdarian <>
Date: Wed, 28 May 2008 09:26:00 -0400

Neil Shephard wrote:
> Loops are not massively efficient within R.
> Look into using the apply() family of functions
> (eapply()/lapply()/mapply/rapply()/tapply()).

Didn't someone post not too long ago that apply is internally represented as a for-loop? Or am I not remembering this correctly?

The reason for apply was that it was more concise but not necessarily more efficient.

Esmail mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 28 May 2008 - 15:27:31 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 Wed 28 May 2008 - 17:30:41 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive