View source: R/variable_name.R
variable_name | R Documentation |
This function tries to determine the name of a variable passed to a
function
.
variable_name(variable, fallback = "unnamed")
variable |
[ |
fallback |
[ |
A character
, the variable name.
Other function helpers:
do.call_timed()
,
function_arguments()
,
function_body()
,
function_defaults()
,
quiet()
,
timed()
,
try_silent()
variable_name(a)
f <- function(x) variable_name(x)
f(x = a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.