install the R package swirl (instructions for the installation of R, RStudio and swirl are provided below). The package can be loaded into R using:
and a swirl teaching session is started using
Choose the course "1: R Programming" and follows the instructions: you have 12 short interactive courses that will help you to be more familiar with R;
For this course, the following (CRAN) packages must be installed (if you want to use your own computer): boot, mlbench, rpart, ipred, class, randomForest, e1071, foreach, doMC (unix-like OS users only) or doParallel (Windows users only).
In addition, the package rmr2 developped by Revolution Analytics must also be installed. This is done by following the tutorial provided at this link (in English).
How to install R?
R can be downloaded for free on the official repository website. I also advise you to install RStudio which is a simple graphical user interface for R which is very handy in many situations. Finally, packages can be installed either the menu "Tools/Install packages" in RStudio or directly the command line:
in an R console.