On Feb 18, 2013, at 17:04 , Hadley Wickham wrote:

> quote(expr =) returning missing seems like the right thing to me,
> quote() throwing an error does not, because it violates the usual
> semantics where f(x = ) is equivalent to f().

Except that it isn't:

> (function(...)nargs())()
[1] 0
> (function(...)nargs())(x=)
[1] 1


-- 
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to