Template of R Journal from http://journal.r-project.org/
Originally written by Kurt Hornik and Friedrich Leisch with subsequent edits by the editorial board.
Copyright (C) 2010 by the R FoundationCopyright (C) 2013 by the R Journal
A simple homework format.
Has: header on every page, page numbers, enumerated list to do problems in, some explanatory comments in code about what does what.
Tip: use inline formulas to shorten output.