[R] Drawing Trig Function

Ben Bolker ben at zoo.ufl.edu
Wed May 31 00:59:05 CEST 2000


  One quick and dirty answer to your first question is that if the lines
you want to comment out  all have acceptable R syntax (as in your
example) you can just put

if (FALSE) {}

around the stuff you want to comment out.
This won't work if you have open parentheses or other "syntax errors" in
the commented region.

On Wed, 31 May 2000, Ko-Kang Wang wrote:

> Hi there,
> 
> Two simple questions:
> 
> 1) How do I comment out several lines in R?  Do I need to type # in the
> beginning of each line?

-- 
Ben Bolker                                  bolker at zoo.ufl.edu
Zoology Department, University of Florida   http://www.zoo.ufl.edu/bolker
318 Carr Hall/Box 118525                    tel: (352) 392-5697
Gainesville, FL 32611-8525                  fax: (352) 392-3704


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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