Remove a library from .libPaths() permanently without Rprofile.site

后端 未结 5 1201
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 18:57

How can I permanently remove a library in R?

.libPaths()
[1] \"\\\\\\\\per-homedrive1.corp.riotinto.org/homedrive$/Tommy.O\'Dell/R/win-library/2.15\"
[2] \         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 19:11

    I have put the Sys.unsetenv("R_LIBS_USER") command in a .Rprofile file in my windows "own documents" folder. Seems to help. My problem was that being in an active directory environment made R upstart and package loading incredibly slow when connected via vpn.

提交回复
热议问题