On Fri, Aug 28, 2009 at 9:41 AM, hadley wickham <h.wick...@gmail.com> wrote:
> > Perhaps most of you have already seen this? > > > > http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html > > > > Comments/Critiques? > > I made my own version that reflects my personal biases: > http://had.co.nz/stat405/resources/r-style-guide.html > > Hadley > > In the spirit of "less is more", I find the underscores to be distracting and unneeded typing. Just simplify to camel caps. I echo Duncan's idea that a line should never start with "else". Duncan mentioned this in the context of cutting and pasting, but the other place that not having "else" start a line is when using the "browser" function and stepping through code line by line. Kevin [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.