paleolimbot opened a new pull request, #293:
URL: https://github.com/apache/arrow-nanoarrow/pull/293

   ``` r
   library(nanoarrow)
   suppressPackageStartupMessages(library(bit64))
   
   (vec <- as.integer64(c(-3:3, NA)))
   #> integer64
   #> [1] -3   -2   -1   0    1    2    3    <NA>
   (array <- as_nanoarrow_array(vec))
   #> <nanoarrow_array int64[8]>
   #>  $ length    : int 8
   #>  $ null_count: int 1
   #>  $ offset    : int 0
   #>  $ buffers   :List of 2
   #>   ..$ :<nanoarrow_buffer validity<bool>[8][1 b]> `TRUE TRUE TRUE TRUE 
TRUE T...`
   #>   ..$ :<nanoarrow_buffer data<int64>[8][64 b]> `-3.00e+00 -2.00e+00 
-1.00e+0...`
   #>  $ dictionary: NULL
   #>  $ children  : list()
   convert_array(array, integer64())
   #> integer64
   #> [1] -3   -2   -1   0    1    2    3    <NA>
   ```
   
   <sup>Created on 2023-09-01 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to