Re: [R] How to comment out multiple lines in R source code?

About this list Date view Thread view Subject view Author view Attachment view

From: A.J. Rossini (rossini@blindglobe.net)
Date: Thu 11 Oct 2001 - 04:55:07 EST


Message-id: <87n12z72b8.fsf@jeeves.blindglobe.net>


>>>>> "jl" == jonathan li <jonathan_li@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

-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini@u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini@scharp.org
-------- (fridays are probably at Rosen) --------
FHCRC: M-W: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   T-Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Thu 17 Jan 2002 - 11:10:07 EST