substituteDirect package:methods R Documentation _S_u_b_s_t_i_t_u_t_e_D_i_r_e_c_t _D_e_s_c_r_i_p_t_i_o_n: Substitute for the variables named in the second argument the corresponding objects, substituting into 'object'. The argument 'frame' is a named list; if omitted, the environment of the caller is used. This function differs from the ordinary 'substitute' in that it treats its first argument in the standard S way, by evaluating it. In contrast, 'substitute' does not evaluate its first argument. The goal is to replace this with an 'eval=' argument to 'substitute'. _U_s_a_g_e: substituteDirect(object, frame, cleanFunction=TRUE)