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)))

