[Rd] Any plans for commenting out region via something like " /* */ "?

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jan 7 12:03:50 CET 2005

On Fri, 7 Jan 2005, A.J. Rossini wrote:

> Greetings from Switzerland!
> Are there any plans/initiatives/considerations in future versions of R
> for commenting out regions via something like " /*    */  "?
> (I've got an application for which something like that would be
> useful; if not, there are less simple solutions).

I normally use if(FALSE) {}: I also tend to use #if 0 #endif in C code, as 
otherwise you have to worry about nesting of comments.

We are currently working on internationalization of R, and a 2-char escape 
sequence doesn't look like a good idea to me.


Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-devel mailing list