showTree              package:codetools              R Documentation

_P_r_i_n_t _L_i_s_p-_S_t_y_l_e _R_e_p_r_e_s_e_n_t_a_t_i_o_n _o_f _R _E_x_p_r_e_s_s_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Prints a Lisp-style representation of R expression.  This can be
     useful for understanding how some things are parsed.

_U_s_a_g_e:

     showTree(e, write = cat)

_A_r_g_u_m_e_n_t_s:

       e: R expression.

   write: function of one argument to write the result.

_A_u_t_h_o_r(_s):

     Luke Tierney

_E_x_a_m_p_l_e_s:

     showTree(quote(-3))
     showTree(quote("x"<-1))
     showTree(quote("f"(x)))

