bquote                 package:base                 R Documentation

_P_a_r_t_i_a_l _s_u_b_s_t_i_t_u_t_i_o_n _i_n _e_x_p_r_e_s_s_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     An analogue of the LISP backquote macro.  'bquote' quotes its
     argument except that terms wrapped in '.()' are evaluated in the
     specified 'where' environment.

_U_s_a_g_e:

     bquote(expr, where = parent.frame())

_A_r_g_u_m_e_n_t_s:

    expr: An expression 

   where: An environment 

_V_a_l_u_e:

     An expression

_S_e_e _A_l_s_o:

     'quote', 'substitute'

_E_x_a_m_p_l_e_s:

     a <- 2

     bquote(a==a)
     quote(a==a)

     bquote(a==.(a))
     substitute(a==A, list(A=a))

     plot(1:10, a*(1:10), main = bquote(a==.(a)))

