args {base} | R Documentation |
Displays the argument names and corresponding default values of a function or primitive.
args(name)
name |
a function (a closure or a primitive).
If name is a character string then the function with that
name is found and used. |
This function is mainly used interactively.
For programming, use formals
instead.
A function with identical formal argument list but an empty body if
given a closure.
A function with the documented usage for a primitive: note that in
almost all cases primitives do not make use of named arguments and
match by position rather than name. (rep
and seq.int
are exceptions.)
NULL
in case of a non-function.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
args(c) args(graphics::plot.default)