paleolimbot commented on issue #39933:
URL: https://github.com/apache/arrow/issues/39933#issuecomment-1929469771

   Or, alternatively, we could fix in R by generating the Python integer there:
   
   ``` r
   py <- reticulate::import_builtins(convert = FALSE)
   # addr <- external_pointer_addr_double(ptr)
   addr <- "12345"
   class(py$int(addr))
   #> [1] "python.builtin.int"    "python.builtin.object"
   py$int(addr)
   #> 12345
   ```
   
   <sup>Created on 2024-02-06 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>
   
   


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

Reply via email to