args                  package:base                  R Documentation

_A_r_g_u_m_e_n_t _L_i_s_t _o_f _a _F_u_n_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Displays the argument names and corresponding default values of a
     function or primitive.

_U_s_a_g_e:

     args(name)

_A_r_g_u_m_e_n_t_s:

    name: a function (a closure or a primitive). If 'name' is a
          character string then the function with that name is found
          and used.

_D_e_t_a_i_l_s:

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

_V_a_l_u_e:

     For a closure, a closure with identical formal argument list but
     an empty ('NULL') body.

     For a primitive, a closure with the documented usage and 'NULL'
     body.  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.

_R_e_f_e_r_e_n_c_e_s:

     Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S
     Language_. Wadsworth & Brooks/Cole.

_S_e_e _A_l_s_o:

     'formals', 'help'.

_E_x_a_m_p_l_e_s:

     args(c)
     args(graphics::plot.default)

