Format R code automatically

WWW: https://github.com/yihui/formatR
