Skip to contents

Specifically this prints a kind of tree that includes memory addresses, SEXPTYPEs, and a few ALTREP tidbits. This is useful in particular because ALTREP classes tend to have custom implementations for inspect, which can be a useful way to summarise ALTREP state.

Usage

alt_inspect(x)

Arguments

x

Any R object to inspect

Value

x, invisibly

Note

This is a re-export of an internal R function, so outputs shouldn't be assumed to be stable.

Examples

alt_inspect(1:5)
#> @5642f15e8318 13 INTSXP g0c0 [REF(65535)]  1 : 5 (compact)