arrow_array function

Create an Arrow Array

Create an Arrow Array

arrow_array(x, type = NULL)

Arguments

  • x: An R object representable as an Arrow array, e.g. a vector, list, or data.frame.
  • type: An optional data type for x. If omitted, the type will be inferred from the data.

Examples

my_array <- arrow_array(1:10) # Compare 2 arrays na_array <- arrow_array(c(1:5, NA)) na_array2 <- na_array na_array2 == na_array # element-wise comparison
  • Maintainer: Jonathan Keane
  • License: Apache License (>= 2.0)
  • Last published: 2025-02-26