Added summary of data types in R, and added a bit on the use of lists/loop to summarise and subset data sets