Here's a trick/workaround; if lib.loc is the path to your library, then prior to calling library(),

> environment(.libPaths)$.lib.loc <- lib.loc

------------------------------------------------------------------------
Good day,

If there's a library folder of the latest R packages and a particular package 
from it is loaded using the lib.loc option, the dependencies of that package 
are still attempted to be loaded from another folder of older packages 
specified by R_LIBS, which may cause errors about version requirements not 
being met. The documentation of the library function doesn't explain what the 
intended result is in such a case, but it could reasonably be expected that R 
would also load the dependencies from the user-specified lib.loc folder.

--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia


______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to