

   conflicts {base}                             R Documentation

   SSeeaarrcchh ffoorr MMaasskkeedd OObbjjeeccttss oonn tthhee SSeeaarrcchh PPaatthh

   DDeessccrriippttiioon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Ussaaggee::

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

   AArrgguummeenntts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Vaalluue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Auutthhoorr((ss))::

        B.D. Ripley

   EExxaammpplleess::

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

