Learn R Programming

constructive (version 1.1.0)

.xptr: Build a pointer from a memory address

Description

Base R doesn't provide utilities to build or manipulate external pointers (objects of type "externalptr"), so we provide our own. Objects defined with .xptr() are not stable across sessions,

Usage

.xptr(address)

Value

The external pointer (type "externalptr") that the memory address points to.

Arguments

address

Memory address