Functions to compile statistics about your R code