Good day, Indeed, the setting of .libPaths() would avoid the error shown by the example. But, it seems unintuitive that R tries to load a package from one directory and its dependencies from another if the dependency is present in the same library as the package being loaded by the user's library command. The documentation of library and its description of lib.loc doesn't suggest that the alternation of source directories would occur.
-------------------------------------- Dario Strbenac University of Sydney Camperdown NSW 2050 Australia ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel