find_symbols | R Documentation |
Find all symbols used in a function or language object.
find_symbols(x)
x |
A language object or function. |
A character vector of the symbols used in the object.
# Find all symbols used in the lm function
find_symbols(utils::install.packages)
# Does not find names of arguments
find_symbols(quote(foo(a = A)))
#> [1] "A" "foo"
find_symbols(quote(function(x = X) NULL))
#> [1] "function" "X"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.