all.names                package:base                R Documentation

_F_i_n_d _A_l_l _N_a_m_e_s _i_n _a_n _E_x_p_r_e_s_s_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Return a character vector containing all the names which occur in
     an expression or call.

_U_s_a_g_e:

     all.names(expr, functions = TRUE,
             max.names = 200, unique = FALSE)
     all.vars(expr, functions = FALSE,
             max.names = 200, unique = TRUE)

_A_r_g_u_m_e_n_t_s:

    expr: an expression or call from which the names are to be
          extracted.

functions: a logical value indicating whether function names should be
          included in the result.

max.names: the maximum number of names to be returned.

  unique: a logical value which indicates whether duplicate names
          should be removed from the value.

_D_e_t_a_i_l_s:

     These functions differ only in the default values for their
     arguments.

_V_a_l_u_e:

     A character vector with the extracted names.

_E_x_a_m_p_l_e_s:

     all.names(expression(sin(x+y)))
     all.vars(expression(sin(x+y)))

