(1) Install R for your operating system: Windo ws: http://cran.at.r-project.org/bin/windows/base/ Mac OS X: http://cran.at.r-project.org/bin/macosx/ Linux: http://cran.r-project.org/bin/linux/ (2) Copy & paste the following commands into the R console and execute them with the enter key: install.packages("ggplot2") install.packages("lattice")