6.6 Optional: Seeing all of your installed packages

The following section is optional

If for some reason you want to see everything you’ve downloaded, do this.

installed.packages()

End optional section


6.6.1 Step 2: Explicitly loading a package with library()

The install.packages() functions just saves the package software to R; now you need to tell R “I want to work with the package”. This is done using the library() function. (Its called library because another name for packages is libraries)

library(ggplot2)