Skip to contents

Create R vector wrappers around 'Arrow' arrays

Usage

narrow_vctr(array = narrow_array())

as_narrow_vctr(x, ...)

new_narrow_vctr(x = integer(), array = narrow_array())

Arguments

array

A narrow_array()

x

An object to convert to a narrow_vctr()

...

Passed to as_narrow_array()

Value

An object of class 'narrow_vctr'

Examples

as_narrow_vctr(1:10)
#> <narrow_vctr[10]>
#>  [1]  1  2  3  4  5  6  7  8  9 10