Basic knowledge of working with datasets in R is essential. This course assumes that you're comfortable with reading datasets, working with script files, and navigating in RStudio.
Recent versions of R (version 3.2 or newer) and RStudio (version 1.0 above) are required.
You can download the latest versions from the links below:
You can find out the version of R installed by typing version at the console:
version
This workshop relies on three packages: dplyr, tidyr, and readr. There are two ways to install these packages:
tidyverseYou can either install these two packages individually or use tidyverse. The tidyverse package is a collection of packages used for data manipulation and visualization. In addition to dplyr, tidyr, and readr, it also includes the following:
tidyverse::tidyverse_packages()
You can install tidyverse using the install.packages() function:
install.packages("tidyverse")
You can find out the version of tidyverse installed using the packageVersion() function:
packageVersion("tidyverse")
To update tidyverse packages, you can use the tidyverse_update() function:
tidyverse::tidyverse_update()
If you encounter any problems installing tidyverse, then the other option is to install dplyr, tidyr, and readr individually.
install.packages("dplyr") install.packages("tidyr") install.packages("readr")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.