[Rd] Commenting conventions

dhinds at sonic.net dhinds at sonic.net
Fri Jan 14 19:53:12 CET 2011


Erik Iverson <eriki at ccbr.umn.edu> wrote:

> dhinds at sonic.net wrote:
> > This might be a dumb question, but I couldn't figure out how to find
> > the answer: why is it that comments in R documentation files (i.e. in
> > examples) typically start with a double hash (##) instead of a single
> > hash?

> See the second paragraph in section 7.5 for the likely answer.

> http://ess.r-project.org/Manual/ess.html#Indenting

Ahh.  I'd forgotten the (setq ess-fancy-comments nil) in my .emacs
file!  I thought the explanation would turn up in an R coding
standards document and/or in Writing R Documentation Files, and it
isn't an easy thing to google.

-- Dave



More information about the R-devel mailing list