args {base} R Documentation

Argument List of a Function

Description


Displays the argument names and corresponding default values of a
(non-primitive or primitive) function.

Usage

args(name);

Arguments

name

a function (a primitive or a closure, i.e., “non-primitive”). If name is a character string then the function with that name is found and used.

Details

This function is mainly used interactively to print the argument list of a function. For programming, consider using formals instead.

Authors

SMRUCC genomics Institute

Value

+ For a closure, a closure with identical formal argument list but an empty (NULL) body. + For a primitive (function), a closure with the documented usage And NULL body. Note that some primitives do Not make use of named arguments And match by position rather than name. + NULL in case of a non-function.

clr value class

Examples


[Package base version 2.33.856.6961 Index]