Package: nanoarrow 0.6.0

Dewey Dunnington

nanoarrow: Interface to the 'nanoarrow' 'C' Library

Provides an 'R' interface to the 'nanoarrow' 'C' library and the 'Apache Arrow' application binary interface. Functions to import and export 'ArrowArray', 'ArrowSchema', and 'ArrowArrayStream' 'C' structures to and from 'R' objects are provided alongside helpers to facilitate zero-copy data transfer among 'R' bindings to libraries implementing the 'Arrow' 'C' data interface.

Authors:Dewey Dunnington [aut, cre], Apache Arrow [aut, cph], Apache Software Foundation [cph]

nanoarrow_0.6.0.tar.gz
nanoarrow_0.6.0.zip(r-4.5)nanoarrow_0.6.0.zip(r-4.4)nanoarrow_0.6.0.zip(r-4.3)
nanoarrow_0.6.0.tgz(r-4.4-x86_64)nanoarrow_0.6.0.tgz(r-4.4-arm64)nanoarrow_0.6.0.tgz(r-4.3-x86_64)nanoarrow_0.6.0.tgz(r-4.3-arm64)
nanoarrow_0.6.0.tar.gz(r-4.5-noble)nanoarrow_0.6.0.tar.gz(r-4.4-noble)
nanoarrow_0.6.0.tgz(r-4.4-emscripten)nanoarrow_0.6.0.tgz(r-4.3-emscripten)
nanoarrow.pdf |nanoarrow.html
nanoarrow/json (API)
NEWS

# Install 'nanoarrow' in R:
install.packages('nanoarrow', repos = c('https://r-multiverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/apache/arrow-nanoarrow/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

11.46 score 174 stars 19 packages 34 scripts 17k downloads 86 exports 0 dependencies

Last updated 2 months agofrom:33d2c8b973 (on apache-arrow-nanoarrow-0.6.0). Checks:OK: 9. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-win-x86_64OKNov 12 2024
R-4.5-linux-x86_64OKNov 12 2024
R-4.4-win-x86_64OKNov 12 2024
R-4.4-mac-x86_64OKNov 12 2024
R-4.4-mac-aarch64OKNov 12 2024
R-4.3-win-x86_64OKNov 12 2024
R-4.3-mac-x86_64OKNov 12 2024
R-4.3-mac-aarch64OKNov 12 2024

Exports:array_stream_set_finalizeras_nanoarrow_arrayas_nanoarrow_array_extensionas_nanoarrow_array_streamas_nanoarrow_bufferas_nanoarrow_schemaas_nanoarrow_vctrbasic_array_streamcollect_array_streamconvert_arrayconvert_array_extensionconvert_array_streamconvert_bufferexample_ipc_streaminfer_nanoarrow_ptypeinfer_nanoarrow_ptype_extensioninfer_nanoarrow_schemana_binaryna_binary_viewna_boolna_date32na_date64na_decimal128na_decimal256na_dense_unionna_dictionaryna_doublena_durationna_extensionna_fixed_size_binaryna_fixed_size_listna_floatna_half_floatna_int16na_int32na_int64na_int8na_interval_day_timena_interval_month_day_nanona_interval_monthsna_large_binaryna_large_listna_large_stringna_listna_mapna_nana_sparse_unionna_stringna_string_viewna_structna_time32na_time64na_timestampna_typena_uint16na_uint32na_uint64na_uint8na_vctrsnanoarrow_allocate_arraynanoarrow_allocate_array_streamnanoarrow_allocate_schemananoarrow_array_initnanoarrow_array_modifynanoarrow_array_set_schemananoarrow_buffer_appendnanoarrow_buffer_initnanoarrow_extension_arraynanoarrow_extension_specnanoarrow_pointer_addr_chrnanoarrow_pointer_addr_dblnanoarrow_pointer_addr_prettynanoarrow_pointer_exportnanoarrow_pointer_is_validnanoarrow_pointer_movenanoarrow_pointer_releasenanoarrow_pointer_set_protectednanoarrow_schema_modifynanoarrow_schema_parsenanoarrow_vctrnanoarrow_versionread_nanoarrowregister_nanoarrow_extensionresolve_nanoarrow_extensionunregister_nanoarrow_extensionwrite_nanoarrow

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Register an array stream finalizerarray_stream_set_finalizer
Convert an object to a nanoarrow arrayas_nanoarrow_array
Convert an object to a nanoarrow array_streamas_nanoarrow_array_stream
Convert an object to a nanoarrow bufferas_nanoarrow_buffer
Convert an object to a nanoarrow schemaas_nanoarrow_schema infer_nanoarrow_schema nanoarrow_schema_modify nanoarrow_schema_parse
Experimental Arrow encoded arrays as R vectorsas_nanoarrow_vctr nanoarrow_vctr
Create ArrayStreams from batchesbasic_array_stream
Convert an Array into an R vectorconvert_array
Convert an Array Stream into an R vectorcollect_array_stream convert_array_stream
Infer an R vector prototypeinfer_nanoarrow_ptype
Implement Arrow extension typesas_nanoarrow_array_extension convert_array_extension infer_nanoarrow_ptype_extension
Create type objectsna_binary na_binary_view na_bool na_date32 na_date64 na_decimal128 na_decimal256 na_dense_union na_dictionary na_double na_duration na_extension na_fixed_size_binary na_fixed_size_list na_float na_half_float na_int16 na_int32 na_int64 na_int8 na_interval_day_time na_interval_months na_interval_month_day_nano na_large_binary na_large_list na_large_string na_list na_map na_na na_sparse_union na_string na_string_view na_struct na_time32 na_time64 na_timestamp na_type na_uint16 na_uint32 na_uint64 na_uint8
Vctrs extension typena_vctrs
Modify nanoarrow arraysnanoarrow_array_init nanoarrow_array_modify nanoarrow_array_set_schema
Create and modify nanoarrow buffersconvert_buffer nanoarrow_buffer_append nanoarrow_buffer_init
Create Arrow extension arraysnanoarrow_extension_array
Register Arrow extension typesnanoarrow_extension_spec register_nanoarrow_extension resolve_nanoarrow_extension unregister_nanoarrow_extension
Danger zone: low-level pointer operationsnanoarrow_allocate_array nanoarrow_allocate_array_stream nanoarrow_allocate_schema nanoarrow_pointer_addr_chr nanoarrow_pointer_addr_dbl nanoarrow_pointer_addr_pretty nanoarrow_pointer_export nanoarrow_pointer_is_valid nanoarrow_pointer_move nanoarrow_pointer_release nanoarrow_pointer_set_protected
Underlying 'nanoarrow' C library buildnanoarrow_version
Read/write serialized streams of Arrow dataexample_ipc_stream read_nanoarrow write_nanoarrow