R Style Guide
For a quick reference on syntax, refer to
For additional reading, check out
There is also an R package, formatR by Yihui Xie, which can automatically format code. This may be especially useful if working with someone elses code or modifying old code.
Last updated 2014-10-11 - Feel free to email me with any questions or comments.