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? [[alternative HTML version deleted]]