Skip to content
Prev 317652 / 398506 Next

Remove site path from .libPaths

On 13-02-15 9:54 AM, Rainer M Krug wrote:
If you look at environment(.libPaths) you'll see that it is not 
.GlobalEnv, so the .lib.loc assignment might not happen where you think. 
  Indeed,

ls(environment(.libPaths), all=TRUE)

will show that it contains one object, .lib.loc.  You can modify that 
variable, but it's quite a risky (in the sense of being undocumented and 
unsupported) thing to do.

Duncan Murdoch