jorisvandenbossche commented on issue #39198: URL: https://github.com/apache/arrow/issues/39198#issuecomment-1851926099
I wanted to point to the existence of `rpy2-arrow`, which already implements the C Data Interface, but so looking at that page again, we actually already do use that for the main example. The additional section https://arrow.apache.org/docs/13.0/python/integration/python_r.html#r-to-python-communication-using-the-c-data-interface is then to _"switch from using rpy2-arrow to using the plain C Data interface"_. I am not sure how important this is that we point users towards such a solution, though. And if we want to keep this "advanced" low-level example that doesn't use rpy2-arrow, for such a section it might also be fine to use the lower-level methods instead of the PyCapsule protocol. (although currently if an error happens in the R function, that's a memory leak?) -- 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]
