R Style Guide




September 22, 2012

This is mainly a note to self:

There are several style guides for R out there. I particularly like the one from Google and the somewhat lighter version of Hadley (ggplot god).

All of that style guide thinking started after a question on <stackoverflow.com> about R workflow … How do we organize large R projects. Hadley (again) is favoring an Load-Clean-Func-Do approach which looks somewhat like that:

I kind of started doing something along these lines, with splitting files into load/clean (still together, could go separate …), cleaning, graphing (which does not make a lot of sense in an extra file) and large junks of analysis … got to redo some directories now …

Other cool links from today’s follow-this-link trip: http://www.getskeleton.com/ and http://subtlepatterns.com/