Skip to content

Instantly share code, notes, and snippets.

@etiennebr
Created April 11, 2014 00:37
Show Gist options
  • Save etiennebr/10434484 to your computer and use it in GitHub Desktop.
Save etiennebr/10434484 to your computer and use it in GitHub Desktop.
How to find the name of a function passed to a function once inside a function
say_x <- function(x) {
deparse(substitute(x))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment