[R] How to comment out multiple lines in R source code?
Göran Broström
gb at stat.umu.se
Wed Oct 10 21:58:59 CEST 2001
On 10 Oct 2001 rossini at blindglobe.net wrote:
> >>>>> "jl" == jonathan li <jonathan_li at agilent.com> writes:
>
> jl> Hi, Is there a way to comment out multiple lines at once in R
> jl> source code like C language's /* */ struct? This is quite
> jl> useful when one is testing different sections of a source
> jl> code.
>
> One alternative is to use editor macros for this.
>
> (X)Emacs, when using ESS, supports comment-region and uncomment-region
> commands.
>
> best,
> -tony
You may also try
if (FALSE){
...
...
}
Göran
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list