eddelbuettel commented on issue #187:
URL:
https://github.com/apache/arrow-nanoarrow/issues/187#issuecomment-1821847487
Tried setting the schema external pointer as a tag, but no luck so far.
I put a (truly minimal) example up here. It builds and checks cleanly for
me, and has one example with either `nanoarrow` (required) or `arrow`
(suggested) export:
```r
> example(linesplit, package="linesplitter")
lnsplt> txt <- "the\nquick\nbrown\nfox"
lnsplt> linesplit(txt)
<nanoarrow_array string[4]>
$ length : int 4
$ null_count: int 0
$ offset : int 0
$ buffers :List of 3
..$ :<nanoarrow_buffer validity<bool>[0][0 b]> ``
..$ :<nanoarrow_buffer data_offset<int32>[5][20 b]> `0 3 8 13 16`
..$ :<nanoarrow_buffer data<string>[16 b]> `thequickbrownfox`
$ dictionary: NULL
$ children : list()
lnsplt> linesplit(txt, TRUE)
Array
<string>
[
"the",
"quick",
"brown",
"fox"
]
>
```
--
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]