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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 07 Jan 2005 - 22:03:50 EST

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

-- 
Brian D. Ripley,                  ripley@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

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri Jan 07 21:54:08 2005

This archive was generated by hypermail 2.1.8 : Fri 07 Jan 2005 - 23:19:31 EST