Skip to content

Instantly share code, notes, and snippets.

@mja
Created August 15, 2010 10:28
Show Gist options
  • Save mja/525335 to your computer and use it in GitHub Desktop.
Save mja/525335 to your computer and use it in GitHub Desktop.
f <- function(a, b,...) {
as.list(match.call()[-1])
}
# > f(x, y, c=z)
# $a
# x
#
# $b
# y
#
# $c
# z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment