Skip to content
Prev 317650 / 398506 Next

Remove site path from .libPaths

On 13-02-15 9:28 AM, Rainer M Krug wrote:
I don't think there is a bug.  As ?.libPaths says,

"Function .libPaths always uses the values of .Library and .Library.site 
in the base namespace. .Library.site can be set by the site in 
?Rprofile.site?, which should be followed by a call to 
.libPaths(.libPaths()) to make use of the updated value."

So you can't change the value of .Library.site after starting R.  You'll 
need to use environment variables (as described on that page) to do it.

Duncan Murdoch