Re: [R] comment code

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 28 Oct 2005 - 00:54:56 EST

On Thu, 27 Oct 2005, Li,Qinghong,ST.LOUIS,Molecular Biology wrote:

> In R, can one comment out a block of code at once instead of using "#"
> one line at a time? Say, in SAS, one can use /*....*/ to comment out
> many lines.

Try RSiteSearch("comment multiple lines").

Note that R-aware editors can do this for you using #.

-- 
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-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Oct 28 04:35:09 2005

This archive was generated by hypermail 2.1.8 : Fri 28 Oct 2005 - 06:18:47 EST