[R] split / lapply over multiple columns

Ralf B ralf.bierig at gmail.com
Wed Aug 4 23:03:02 CEST 2010


Besides beauty, is there an actual advantage in terms of run-time
and/or memory use?

Ralf

On Wed, Aug 4, 2010 at 3:44 PM, Bert Gunter <gunter.berton at gene.com> wrote:
> It's not that it's "bad" -- it's just unnecessarily clumsy. ALmost
> always, tapply/by will do the same thing more simply.
>
> -- Bert
>
> On Wed, Aug 4, 2010 at 10:10 AM, Ralf B <ralf.bierig at gmail.com> wrote:
>>> In general, the lapply(split(...)) construction should never be used.
>>
>> Why? What makes it so bad to use?
>>
>



More information about the R-help mailing list