Added commets to R code files.