This function returns character value previously stored in variable's name attribute. If none found, the function defaults to object's name.
name(x)a character value with variable's label
if (FALSE) { # \dontrun{
name(mtcars$am)
x <- 1:10
name(x)
} # }