Skip to content

Instantly share code, notes, and snippets.

@gweissman
Created April 13, 2012 15:45
Show Gist options
  • Save gweissman/2377829 to your computer and use it in GitHub Desktop.
Save gweissman/2377829 to your computer and use it in GitHub Desktop.
Sample code using quote and eval in R
# write some code and sit on it
mycode <- quote(1 + 2 +3)
# some time later, at your convenience, evaluate the code
eval(mycode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment