xptr {xptr}R Documentation

Manipulating External Pointer

Description

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_xpt(a)
xptr_address(a)
xptr_clear(a)
is_null_xptr(a)
set_xptr_address(a, xptr_address(b))
xptr_address(a)

[Package xptr version 1.1.1 Index]