Note on coding R: be sure to write at least 10 lines of comments for every line of executable, because after a couple of years it’s all too easy to forget what some arcane package for an unusual project truly does and why it does it.