

conflicts {base}                             R Documentation

_S_e_a_r_c_h _f_o_r _M_a_s_k_e_d _O_b_j_e_c_t_s _o_n _t_h_e _S_e_a_r_c_h _P_a_t_h

_D_e_s_c_r_i_p_t_i_o_n_:

     `conflicts' reports on objects that exist with the same
     name in two or more places on the `search' path, usu-
     ally because an object in the global environment or a
     package is masking a system object of the same name.
     This helps discover unintentional masking.

_U_s_a_g_e_:

     conflicts(where=search(), detail=FALSE)

_A_r_g_u_m_e_n_t_s_:

   where: A subset of the search path, by default the whole
          search path.

  detail: If `TRUE', give the masked or masking functions
          for all members of the search path.

_V_a_l_u_e_:

     If `detail=FALSE', a character vector of masked
     objects.  If `detail=TRUE', a list of character vectors
     giving the masked or masking objects in that member of
     the search path.  Empty vectors are omitted.

_A_u_t_h_o_r_(_s_)_:

     B.D. Ripley

_E_x_a_m_p_l_e_s_:

     lm <- 1:3
     conflicts(, TRUE)
     ## gives something like
     # $.GlobalEnv
     # [1] "lm"
     #
     # $package:base
     # [1] "lm"
     #

