You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@t-kalinowski I solved the immediate problem in my code using reticulate:::py_capsule and did not have time to address this more general issue in reticulate itself. But now I had finally a minute and made the necessary changes in a PR (#1519). Please write if you would want me to add some tests to that.
Currently the
py_to_r
function does not unwrap an external pointer from a capsule. Namelypy_to_r(r_to_py(x))
is notx
ifx
is a R external pointer.Code to reproduce:
I'm open to writing a pull request with the correct the behaviour of
py_to_r()
function insrc/python.cpp
.The text was updated successfully, but these errors were encountered: