[R] Documentation for library() and how to specify missing arguments

Gabor Grothendieck ggrothendieck at gmail.com
Fri Jul 2 01:28:25 CEST 2010


On Thu, Jul 1, 2010 at 1:24 PM, Allan Engelhardt <allane at cybaea.com> wrote:
>
> Is there in the language a lexical x such that f(x, ...) is the same as f(,
> ...)?
>

Try this:

> mx <- formals(identity)$x
> missing(mx)
[1] TRUE
> sin(mx)
Error in sin(mx) : 'mx' is missing



More information about the R-help mailing list