-Packages are simply collections of functions and/or data that can be used to extend the capabilities of R beyond the core functionality that comes with it by default. There are useful R packages available that span all types of statistical analysis, data visualization, and more. So far we have been using packages that are included in the base installation of R (this is what comes with R 'out of the box'). However, there are many more packages available for R, and we will learn how to install and use them in this lesson. The main place that R packages are installed from is a website called [CRAN](https://cran.r-project.org/) (the Comprehensive R Archive Network). Many thousands of R packages are available there, and when you use the built-in R function `install.packages()`, it will look for a CRAN repository to install from. So, for example, to install [tidyverse](https://www.tidyverse.org) packages such as `dplyr` and `ggplot2` (which you'll do in the next few lessons), you would use the following command:
0 commit comments