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

length)` but faster (implemented in C).

Views0
PublishedMay 11, 2026

Loading actions...

5 minBeginnerpromptSingle file

Skill content

Main instructions and any bundled files for this skill.

markdown

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

length)` but faster (implemented in C).

Share: