Skip to content

Implement r_to_py for external pointer - #674

Merged
kevinushey merged 1 commit into
rstudio:masterfrom
Marlin-Na:master
Jan 2, 2020
Merged

kevinushey merged 1 commit into
rstudio:masterfrom
Marlin-Na:master

Conversation

@Marlin-Na

Copy link
Copy Markdown
Contributor

Fixes #660

@Marlin-Na

Copy link
Copy Markdown
Contributor Author

An example can be:

library(xptr)
library(reticulate)
xptr <- xptr::new_xptr("1122")
xptr
# <pointer: 0x462>
r_to_py(xptr)
# <capsule object NULL at 0x11938bb70>

@kevinushey

Copy link
Copy Markdown
Collaborator

Thanks for the pull request!

We require a Contributor License Agreement before we can accept pull requests on RStudio repositories. Would you be willing to fill one out, and send it to the e-mail indicated in the form? (Please also reference me and this PR in your e-mail.)

@Marlin-Na

Copy link
Copy Markdown
Contributor Author

Hi @kevinushey , I have emailed the agreement.

Best,
Jialin

@kevinushey
kevinushey merged commit bc13440 into rstudio:master Jan 2, 2020
@kevinushey

Copy link
Copy Markdown
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: convert external pointer to capsule with r_to_py

2 participants