xptr

Set a protected R object to the external pointer.

Source code

Description

Set a protected R object to the external pointer.

Usage

set_xptr_protected(s, protected)

Arguments

s An externalptr object
protected An R object

Value

No return value as the function is called for its side effect