new_xptr: Create an external pointer object.

Description Usage Arguments Value

View source: R/xptr.R

Description

Create an external pointer object.

Usage

1
2
3
new_xptr(address = "", tag = NULL, protected = NULL)

null_xptr(tag = NULL, protected = NULL)

Arguments

address

a string of pointer address

tag

an optional tag

protected

an objected to be protected from gc within the lifetime of the external pointer

Value

an externalptr object


randy3k/xptr documentation built on Aug. 3, 2020, 8:39 a.m.