Learn R Programming

future (version 1.16.0)

.length: Gets the length of an object without dispatching

Description

Gets the length of an object without dispatching

Usage

.length(x)

Arguments

x

Any R object.

Value

A non-negative integer.

Details

This function returns length(unclass(x)), but tries to avoid calling unclass(x) unless necessary.

See Also

.subset() and .subset2().