[Bioc-devel] Adding a lengths() method to List class
MEC at stowers.org
Tue Sep 29 18:02:33 CEST 2015
Dumb question (?) follows in line:
> That is the plan. Note that we already have elementLengths() that serves the
> same purpose. It was the direct inspiration for lengths().
Why have both?
> On Mon, Sep 28, 2015 at 9:41 PM, Peter Hickey <peter.hickey at gmail.com>
> > The lengths() function was added in R 3.2 to "get the length of each
> > element of a list or atomic vector (is.atomic) as an integer or
> > numeric vector." It seems useful to me to have also a similar method
> > defined for the S4Vectors::List class (and subclasses). What do others think?
More information about the Bioc-devel