There is limited native support for external pointers in the R interface. This package provides some basic tools to verify, create and modify 'externalptr' objects.

References

Examples

library(xptr) a <- new_xptr("0x11a888090") b <- new_xptr("0x11a888098") is_xptr(a)
#> [1] TRUE
#> [1] "0x11a888090"
#> [1] TRUE
#> [1] "0x11a888098"