[
https://issues.apache.org/jira/browse/ARROW-11120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270923#comment-17270923
]
Laurent commented on ARROW-11120:
---------------------------------
I now have unit tests (coverage 90+%) for that first vanilla conversion (uses
standard rpy2, no R6) and it seems to be working well.
However, the performance for in-memory table or arrays does not appear too
great, or at least I would have expected that it would be quasi-instantaneous
as no copy would be made.
It takes 24 seconds to share a pyarrow table with 270K rows and 18 columns to
R.
The time benchmark is in cells #7 and #8 here:
https://github.com/rpy2/rpy2-arrow/blob/main/doc/notebooks/demo.ipynb
> [Python][R] Prove out plumbing to pass data between Python and R using rpy2
> ---------------------------------------------------------------------------
>
> Key: ARROW-11120
> URL: https://issues.apache.org/jira/browse/ARROW-11120
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python, R
> Reporter: Wes McKinney
> Priority: Major
>
> Per discussion on the mailing list, we should see what is required (if
> anything) to be able to pass data structures using the C interface between
> Python and R from the perspective of the Python user using rpy2. rpy2 is sort
> of the Python version of reticulate. Unit tests will then validate that it's
> working
--
This message was sent by Atlassian Jira
(v8.3.4#803005)