Learn R Programming

data.table (version 1.14.8)

address: Address in RAM of a variable

Description

Returns the pointer address of its argument.

Usage

address(x)

Value

A character vector length 1.

Arguments

x

Anything.

Details

Sometimes useful in determining whether a value has been copied or not, programmatically.

References

https://stackoverflow.com/a/10913296/403310 (but implemented in C without using .Internal(inspect()))