ref | R Documentation |
This tree display focusses on the distinction between names and values. For each reference-type object (lists, environments, and optional character vectors), it displays the location of each component. The display shows the connection between shared references using a locally unique id.
ref(..., character = FALSE)
... |
One or more objects |
character |
If |
Other object inspectors:
ast()
,
sxp()
x <- 1:100
ref(x)
y <- list(x, x, x)
ref(y)
ref(x, y)
e <- new.env()
e$e <- e
e$x <- x
e$y <- list(x, e)
ref(e)
# Can also show references to global string pool if requested
ref(c("x", "x", "y"))
ref(c("x", "x", "y"), character = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.