Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Need small S3 class to capture an object — it's address (string), type (string), NAMED (integer?), and id (integer, if seen before, NULL otherwise), and its children (named list). Its print method would take care of generating the tree display.
This would effectively become a replacement for
Can experiment with https://github.com/rstudio/rstudio/blob/75e5d4a06dfebba0ef0290fc04788b841e26cc8f/src/cpp/session/modules/SessionObjectExplorer.R#L768-L948 to see how customising the viewer might work