R: Create an external pointer object.

new_xptr {xptr} | R Documentation

## Create an external pointer object.

### Description

Create an external pointer object.

### Usage

    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

[Package xptr version 1.1.3 Index]