lobstr: Visualize R Data Structures with Trees

A set of tools for inspecting and understanding R data structures inspired by str(). Includes ast() for visualizing abstract syntax trees, ref() for showing shared references, cst() for showing call stack trees, and obj_size() for computing object sizes.

Package details

AuthorHadley Wickham [aut, cre], Posit Software, PBC [cph, fnd]
MaintainerHadley Wickham <hadley@posit.co>
LicenseMIT + file LICENSE
Version1.2.2
URL https://lobstr.r-lib.org/ https://github.com/r-lib/lobstr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("lobstr")

Try the lobstr package in your browser

Any scripts or data that you put into this service are public.

lobstr documentation built on Sept. 1, 2026, 9:07 a.m.