- `lengths(x)` returns the length of **each element** of a list. Equivalent to `sapply(x

length)` but faster (implemented in C).

promptBeginner5 min to valuemarkdownQuality: 28
0 views
May 11, 2026

Loading actions...