Manipulating External Pointer

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.


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.

Usage

library(xptr)
a <- new_xptr("0x11a888090")
b <- new_xptr("0x11a888098")
is_xpt(a)
#> [1] TRUE
xptr_address(a)
#> [1] "0x11a888090"
xptr_clear(a)
is_null_xptr(a)
#> [1] TRUE
set_xptr_address(a, xptr_address(b))
xptr_address(a)
#> [1] "0x11a888098"

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("xptr")

1.1.1 by Randy Lai, 5 months ago


https://randy3k.github.io/xptr/


Browse source code at https://github.com/cran/xptr


Authors: Randy Lai [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license



See at CRAN