R code to mine log files, and plot relevant graphs of overall activities