From ripley at stats.ox.ac.uk  Fri Jan  7 12:03:50 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri Jan  7 12:03:55 2005
Subject: [Rd] Any plans for commenting out region via something like "
	/* */ "?
In-Reply-To: <1abe3fa905010702034c2e2799@mail.gmail.com>
References: <1abe3fa905010702034c2e2799@mail.gmail.com>
Message-ID: <Pine.LNX.4.61.0501071044580.31585@gannet.stats>

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


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