Programming skills in R