通过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.