I am running R on Windows, not as an administrator. When I install a package, the following command doesn\'t work:
> install.packages(\"zoo\")
Installing
If you want to change your library path permanently (without calling .libPath() every time when entering in R, this works for me:
create .Rprofile under your home directory. (~/.Rprofile)
type
.libPaths(c( .libPaths(), "your new path" ))
in .Rprofile file, save.
open R (any directory) and check, just type .libPaths()
, you can find your libaray path is updated!