[R] How to make R running faster
Esmail Bonakdarian
esmail.js at gmail.com
Wed May 28 15:26:00 CEST 2008
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
More information about the R-help
mailing list