Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

private_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.

Details

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

Value

A non-negative integer.

See Also

.subset() and .subset2().


globals

Identify Global Objects in R Expressions

v0.14.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph], Davis Vaughan [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.