lobstr provides tools in the same vein as
str(), which allow you to dig into the detail of an object.
Install the released version of lobstr from CRAN:
You can install the development version with:
ast() draws the abstract syntax tree of R expressions:
ref() shows hows objects can be shared across data structures by digging into the underlying __ref__erences:
A related tool is
obj_size(), which computes the size of an object taking these shared references into account: