do.call                 package:base                 R Documentation

_E_x_e_c_u_t_e _a _F_u_n_c_t_i_o_n _C_a_l_l

_D_e_s_c_r_i_p_t_i_o_n:

     `do.call' executes a function call from the name of the function
     and a list of arguments to be passed to it.

_U_s_a_g_e:

     do.call(what, args)

_A_r_g_u_m_e_n_t_s:

    what: a character string naming the function to be called.

    args: a list of arguments to the function call.  The `names'
          attribute of `args' gives the argument names.

_V_a_l_u_e:

     The result of the (evaluated) function call.

_S_e_e _A_l_s_o:

     `call' which creates an unevaluated call.

_E_x_a_m_p_l_e_s:

     do.call("complex", list(imag = 1:3))

