get_length: Get C length of a vector

Description Usage Arguments Details Value Examples

View source: R/integerutil.R

Description

Gets C length of a vector ignoring any length-methods dispatched by classes

Usage

1

Arguments

x

a vector

Details

Queries the vector length using C-macro LENGTH, this can be substantially faster than length(unclass(x))

Value

integer scalar

Examples

1
2

bit documentation built on Aug. 4, 2020, 9:06 a.m.