[R] Google's R Style Guide

Duncan Murdoch murdoch at stats.uwo.ca
Fri Aug 28 16:53:28 CEST 2009


On 8/28/2009 10:41 AM, hadley wickham 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

I see you repeated (or independently invented?) the bad rule about 
closing braces.  They should usually go on their own line, but not when 
followed by an else clause.

Duncan Murdoch




More information about the R-help mailing list