This section covers some basics of working in R. (Inevitably, see above, you will hit some bumps in the road. This code will not get you through all that, but it might provide some hints.) Source.

  1. Introduction
    1. The R working environment. 
    2. Vectors, and matrices.  
    3. Logical values and factors.
    4. Functions.
    5. Data frames.
  2. Basic programming
    1. Conditions and loops.
    2. Creating your own functions.
    3. Advanced functions.