I seem to remember reading somewhere about some style guide regarding R the number of comment characters (#) prior to the comment meaning something. Anyone know to what I'm referring? Where? ---------------------------------------------------------- SIGSIG -- signature too long (core dumped)
I don't know if this is what you're referring to, but in ESS the number of octothorpes (#) affects the indentation in the emacs buffer. If I remember right, ### puts it at the beginning of the line, ## the current indentation level (eg. in a function) and # further right. Paul Roebuck wrote:>I seem to remember reading somewhere about some style >guide regarding R the number of comment characters (#) >prior to the comment meaning something. > >Anyone know to what I'm referring? Where? >-- Kevin E. Thorpe Biostatistician/Trialist, Knowledge Translation Program Assistant Professor, Department of Public Health Sciences Faculty of Medicine, University of Toronto email: kevin.thorpe at utoronto.ca Tel: 416.946.8081 Fax: 416.946.3297
Le 19.01.2006 11:19, Paul Roebuck a ??crit :>I seem to remember reading somewhere about some style >guide regarding R the number of comment characters (#) >prior to the comment meaning something. > >Anyone know to what I'm referring? Where? > >Hi, If you edit your R code with eclipse + statET plugin (http://www.walware.de/goto/statet) you can associate task tags to your comments, ie : # TODO : bla bla # FIXME : replace that for loop by some vectorized incantation # BUG : ... you can create new task tags according to your taste ... so that the comments are managed by a separate window. Pretty useful. Romain -- visit the R Graph Gallery : http://addictedtor.free.fr/graphiques mixmod 1.7 is released : http://www-math.univ-fcomte.fr/mixmod/index.php +---------------------------------------------------------------+ | Romain FRANCOIS - http://francoisromain.free.fr | | Doctorant INRIA Futurs / EDF | +---------------------------------------------------------------+