Created
April 3, 2013 13:58
-
-
Save trcook/5301420 to your computer and use it in GitHub Desktop.
Convert Object Name to String
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| myfun <- function(x) deparse(substitute(x)) | |
| # so myfun(myQOG) will give output "myQOG" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment