library() and Packages (R)

A package is a bundle of R functions, data, and documentation. You install one once with install.packages() and load it into a session with library() to use…