Skip to contents

Resolves the default to value to use in convert_array() and convert_array_stream(). The default conversions are:

Usage

infer_nanoarrow_ptype(x)

Value

An R vector of zero size describing the target into which the array should be materialized.

Details

Additional conversions are possible by specifying an explicit value for to. For details of each conversion, see convert_array().

Examples

infer_nanoarrow_ptype(as_nanoarrow_array(1:10))
#> integer(0)