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 2022/01/09 15:55:21 UTC

[GitHub] [arrow] alamb edited a comment on issue #12102: How to pass an in-memory arrow object from Rust into R

alamb edited a comment on issue #12102:
URL: https://github.com/apache/arrow/issues/12102#issuecomment-1008323398


   I think what you are looking for is called the `ffi` module in arrow-rs: https://docs.rs/arrow/6.5.0/arrow/ffi/index.html
   
   Perhaps something like
   ```rust
   let (array_ptr, schema_ptr) = array.to_raw()?;
   ```
   
   Then you can pass the array_ptr and schema_ptr to the R implementation (which I am not familiar with).


-- 
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: github-unsubscribe@arrow.apache.org

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