A workaround is to escape the evaluation of the lines. For example: tt <- 0 while(tt > 0){ cat('rr\n') }
Regards, Pascal On Tue, Sep 9, 2014 at 11:49 AM, PO SU <rhelpmaill...@163.com> wrote: > > Dear expeRts, > I find it's terrible when i want to comment multi paragraph (e.g. a 30 > lines function) , i have to comment each line with #, is there any good way > to do that ? > I investgate it, but found no easy way, may you help me ? > > > > > > -- > > PO SU > mail: desolato...@163.com > Majored in Statistics from SJTU > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Pascal Oettli Project Scientist JAMSTEC Yokohama, Japan ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.