[Rd] match.call() and missing arguments in ...

Hadley Wickham h.wickham at gmail.com
Fri Feb 15 16:33:38 CET 2013


Hi all,

Is this expected behaviour or a bug in match.call?

f <- function(x, ...) {
  g <- function(...) match.call()

  g(x = x, ...)
}
f(x = 1, y = )
# g(x = x, y = ..1)

Hadley

-- 
Chief Scientist, RStudio
http://had.co.nz/



More information about the R-devel mailing list