>>>>> "PD" == Peter Dalgaard <[EMAIL PROTECTED]>
>>>>>     on 05 Oct 2006 16:12:50 +0200 writes:

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

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

    PD> <<<
    PD> dsaldfysdfk
    >>>> 

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

i.e. all of R-core ...

    PD> or 

    PD> /# kdlsfk 
    PD> dfkjsdfl #/

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

or

<##  ....
      ...
 ##>

but I'm not yet fond of the general idea.
Martin


    PD> -- 
    PD> O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
    PD> c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
    PD> (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 
35327918
    PD> ~~~~~~~~~~ - ([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