[R] Google's R Style Guide

(Ted Harding) Ted.Harding at manchester.ac.uk
Fri Aug 28 15:22:01 CEST 2009


On 28-Aug-09 12:59:24, Esmail wrote:
> Perhaps most of you have already seen this?
>   
> http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html
> 
> Comments/Critiques?
> 
> Thanks,
> Esmail
> 
> ps: Reminds me of PEP 8 for Python
> 
>      http://www.python.org/dev/peps/pep-0008/
> 
> Maybe not that surprising since Python is also one of the main
> languages used by Google.

I think it is grossly over-prescriptive. For example:
  "function names have initial capital letters and no dots"
is violated throughout R itself.

Ted.


--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 28-Aug-09                                       Time: 14:21:58
------------------------------ XFMail ------------------------------




More information about the R-help mailing list