R: Register a finalizer for external poitner.

register_xptr_finalizer {xptr} | R Documentation

## Register a finalizer for external poitner.

### Description

Register a finalizer for external poitner.

### Usage

    register_xptr_finalizer(s, f, onexit = FALSE)

### Arguments

`s` | an `externalptr` object
`f` | an R function
`onexit` | should the finalizer execute on exit?

### See Also

`reg.finalizer`

[Package xptr version 1.1.3 Index]