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

length)` but faster (implemented in C).

promptBeginner5 min to valuemarkdown
0 views
Apr 2, 2026

Loading actions...