Re: [Rd] OT: Reason/history behind ## notation for comments?

2010-09-23 Thread Martin Maechler
LG == Laurent Gatto laurent.ga...@gmail.com on Wed, 22 Sep 2010 08:33:20 +0100 writes: LG For what concerns emacs users, the number of '#' has LG different effects on the position of the comment. From LG the ESS manual: 'By default, comments beginning with LG ‘###’ are

[Rd] OT: Reason/history behind ## notation for comments?

2010-09-22 Thread Henrik Bengtsson
Off topic, but since I've observe both styles, does anyone know the history behind/reason for using ## instead of a single # to start comments in R. I know some editors do this by default. Is it because in C it is easier to distinguish (search/replace/...) comments from C preprocessor directives

Re: [Rd] OT: Reason/history behind ## notation for comments?

2010-09-22 Thread Laurent Gatto
For what concerns emacs users, the number of '#' has different effects on the position of the comment. From the ESS manual: 'By default, comments beginning with ‘###’ are aligned to the beginning of the line. Comments beginning with ‘##’ are aligned to the current level of indentation for the