singhpratech commented on PR #51236: URL: https://github.com/apache/arrow/pull/51236#issuecomment-7075299315
Thank you both so much for the thoughtful review, and Dewey, thank you for the `nanoarrow/r.h` pointer, it's a really helpful one. Happy to go with nanoarrow as the recommended route. I've trimmed the PR down to documentation only: the two method entries on `?Array` now point readers to `nanoarrow_allocate_array()` and `nanoarrow_allocate_schema()` for allocating the structs, and the exports, the new help topic, the test and the NEWS entry are gone. I hope this version is a useful addition, and I'm glad to adjust the wording however you prefer. On our side, [ArrowMetal](https://github.com/singhpratech/ArrowMetal)'s R package is already well covered: it allocates the two structs in its own C code against the published C Data Interface ABI and talks to arrow through `$export_to_c()` and `Array$import_from_c()` alone. **No nanoarrow. No `arrow:::`. Just the two public methods**, which is exactly why documenting them matters. Thanks again for your time on this. -- 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]
