Seth Falcon <[EMAIL PROTECTED]> writes:

> Uwe Ligges <[EMAIL PROTECTED]> writes:
> > Use an editor that comments out a whole block which is what I do all the 
> > time, e.g. use Tinn-R, Emacs or WinEdt, to mention just a few of
> > them.
> 
> This, of course, works.  The if(FALSE) approach does not because it
> requires the "comment" to be syntactically correct.  The multiline
> string trick is _almost_ there, the problem is that both " and ' are
> fairly common in text and having to escape that is a pain.  
> 
> My wtf feature request is to add a multiline string delimiter ala
> Python like """.

Still gives you problems with nested comments. *IF* we want to go down
that route, we should have directional symbols like

<<<
dsaldfysdfk
>>>

(which would likely drive version control users up the wall...)

or 

/# kdlsfk 
   dfkjsdfl #/

(but those character combinations have a marginal risk of being used
in existing code).

-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
[email protected] 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.

Reply via email to