conflicts package: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, usually because an object in the user's workspace 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. _E_x_a_m_p_l_e_s: lm <- 1:3 conflicts(, TRUE) ## gives something like # $.GlobalEnv # [1] "lm" # # $package:base # [1] "lm" ## Remove things from your "workspace" that mask others: remove(list = conflicts(detail=TRUE)$.GlobalEnv)