Appendix B. R Packages
You may hear R users (or me) refer to “base R.” What is base R? It is just the collection of R functions that gets loaded every time you start R. These functions provide the basics of the language, and you don’t have to load a package before you can use them.
To use an R package, you must first install it on your computer and then load it in your current R session. The easiest way to install an R package is with the
install.packages R function. Open R and type the following into the command line:
This will search for the specified package in the collection of packages hosted on the CRAN site. When R finds the package, it will download it into a libraries folder on your computer. ...