This would prevent segfaults by putting the externalptr in the wrong kind of R6 container, plus allow us to skip a bunch of hackery where we try to track or guess the class of the object returned from call_function (could be Array, ChunkedArray, Scalar, RecordBatch, or Table).
reticulate does something along these lines; it's a subclass of environment I think but not exactly an R6 class.
Reporter: Wes McKinney / @wesm
Assignee: Romain Francois / @romainfrancois
PRs and other links:
Note: This issue was originally created as ARROW-9001. Please see the migration documentation for further details.
This would prevent segfaults by putting the externalptr in the wrong kind of R6 container, plus allow us to skip a bunch of hackery where we try to track or guess the class of the object returned from call_function (could be Array, ChunkedArray, Scalar, RecordBatch, or Table).
reticulate does something along these lines; it's a subclass of environment I think but not exactly an R6 class.
Reporter: Wes McKinney / @wesm
Assignee: Romain Francois / @romainfrancois
PRs and other links:
Note: This issue was originally created as ARROW-9001. Please see the migration documentation for further details.