在R中安装软件包时出现Would you like to use a personal library instead

通过Gui的程序包选择安装包,出现Warning in install.packages(NULL,  .libPaths()[1L], dependencies = NA, type=tyep): 'lib="C:/Program Files/R/R-3.4.3/library" '不可写。弹出消息框,询问Would you like to use a personal library instead? 点击是,之后又弹出消息框,显示would you like to create a  personal library 'C:\users\neoaj\Documents/R/win-library/3.4' to install packages into?

然后会安装。下载的二进制程序包在 C:\Users\neoaj\AppData\Local\Temp\RtmpCWaQE3\downloaded_packages里。

====

关于那个warning,那并不是错误。That means you are running the install from a regular account (i.e. non-root). You can accept the suggestion from the installer and use a personal ($HOME) location.It's not an error, it's just a question. It's one of the things I love about R, how easy it is to install packages as non-root/user. The package (if you accept) will be installed just for you.

posted @ 2017-12-13 11:51  褐色鸟群  阅读(7476)  评论(0编辑  收藏  举报