Skip to content
Prev 43081 / 63424 Next

[patch] giving library() a 'version' argument

On 4/12/12 1:56 PM, "Ken Williams" <Ken.Williams at windlogics.com> wrote:

            
If you're going to "play" with .libPaths() like that,
it should be done prior to ANY libraries being loaded.

Going about the style you do below, you'd need to parse
sessionInfo() instead. packageVersion() as well as
packageDescription() give you the information based on
the first package in the path with the same name. If you
dynamically change the path, the returned information
could be different...