Skip to content

Instantly share code, notes, and snippets.

@achateigner
Last active October 11, 2017 07:25
Show Gist options
  • Save achateigner/8730bc21ff6ecc9a7571382f32670d92 to your computer and use it in GitHub Desktop.
Save achateigner/8730bc21ff6ecc9a7571382f32670d92 to your computer and use it in GitHub Desktop.
`%tin%` <- function(x, y) {
mapply(assign, as.character(substitute(x)[-1]), y,
MoreArgs = list(envir = parent.frame()))
invisible()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment