Appendix A. Package Management
A brief overview of working with packages is provided here. This is given as a reference to the basic commands used to manage packages. It is not exhaustive and serves only as a brief reference to manage packages associated with your installation of R.
The appendix has four parts:
- An overview on how to access a package
- An overview on how to install a package
- An overview on how to remove a package
- An overview on how to update packages
One of R's greatest strengths is the ability to use specialized packages, and a wide range of packages are available. Some of the packages are included in the regular installation, and some packages must be installed and maintained separately. We provide a brief overview of how to install, remove, and upgrade the installed packages on your system.
We first discuss two commands that are commonly used when working with packages. The first is the installed.packages
command. This command will list all of the packages that...