killerniom.blogg.se

Update packages r
Update packages r










update packages r

You can just install and load packages from the specified directory.įinally, I have some small code included in my Rprofile.site allowing me to reinstall all packages when I install a new R version. Then it will load automatically every time R loads, and you don't have to worry about that any more. If you want to automate this further, you can specify this in the Rprofile.site file, which you find in the /etc/ directory of your R build. Library variable, and will make it the default. This will put this path as a first value in the.

update packages r

libPaths("/path/to/directory/with/libraries") install.packages("thepackage",lib="/path/to/directory/with/libraries") As Dirk said, save your packages in another directory on your computer. Just for completeness, there are some ways to prevent you from having this problem.












Update packages r