You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/11/13 13:50:43 UTC

[GitHub] [arrow] romainfrancois commented on pull request #8650: ARROW-10530: [R] Use Converter API to convert SEXP to Array/ChunkedArray

romainfrancois commented on pull request #8650:
URL: https://github.com/apache/arrow/pull/8650#issuecomment-726775206


   Thanks @kszucs for the direct help. This is very far from done, but it's a start, and perhaps we can resume the conversation here. 
   
   AFAIK, There is no R equivalent to `PyObject*`, so I'm trying here to mimic that with this: 
   
   ```cpp
   struct RObject {
     RVectorType rtype;
     void* data;
     bool null;
   };
   ```
   
   This will evolve (perhaps into some sort of hierarchy) I'm sure as other types join the implementation (for now this only handles going from an R integer vector (INTSXP) to an `int32` Array. 
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org