Skip to content
New Workbook
Sign up
RDocumentation: conflicts
if(!require('base')) {
    install.packages('base')
    library('base')
}
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)