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