![]() Or allow nefarious actors easy access to do that for you. Be aware that if you select all packages, this may take some time and you will be unable to use R whilst the process completes. A dialogue box will appear and you can select the packages you wish to update. You should always use the lowest privilege level possible so you don't inadvertently bork your machine. To update multiple packages, or indeed all packages, RStudio provides helpful tools. An alternative that you sometimes hear people talking about is to run R with admin privileges so you can just have one library dir, but that in general is a horrible idea. You can see that there are two library paths, the first one being your 'local' path to which you have privileges, and the second one being in a place that can only be written to if you invoke admin privileges. "C:/Users/jmacdon/AppData/Roaming/R/win-library/4.0" ![]() ![]() Then when you install other packages R chooses a directory that you do have write privileges (on Win10 it's in C://AppData/Roaming/R/win-library/4.0, or at least is there on my box). ![]() Usually on Windows you install R as a privileged user, and the recommended packages (which include all those listed) are also installed in a privileged location that you as a normal user don't have write privileges. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |