Skip to content
Prev 57488 / 63424 Next

Error: package or namespace load failed for‘utils

I cannot reproduce this using current R-devel or R-patched.  After
starting with R_DEFAULT_PACKAGES=NULL,

R> search()
[1] ".GlobalEnv"   "Autoloads"    "package:base"
R> loadedNamespaces()
[1] "compiler" "tools"    "base"    
R> package <- "utils"
R> lib.loc <- file.path(R.home(), "library")
R> ns <- loadNamespace(package, lib.loc)
R> loadedNamespaces()
[1] "compiler" "tools"    "utils"    "base"    

-k