Installing and Loading Packages
Key Idea
Callout
4 / 11
Key Idea
Callout
Key Idea
Base R includes many useful functions, but most applied workflows rely on packages. A package is a collection of functions, data, and documentation. Installing a package makes it available on the computer. Loading a package makes it available in the current R session. This distinction is important. A package may be installed but not loaded. If a script uses functions from a package, the script should load that package explicitly.