This lesson assumes you have R and RStudio installed on your computer.
The latest version of R can be downloaded here.
RStudio is an application (an integrated development environment or IDE) that facilitates the use of R and offers a number of nice additional features. It can be downloaded here. You will need the free Desktop version for your computer.