Something like /*...*/ is what I am looking for ...
-----Ursprüngliche Nachricht-----
Von: Søren Højsgaard [mailto:soren.hojsga...@agrsci.dk] 
Gesendet: Mittwoch, 11. Februar 2009 09:40
An: Mirauta, Mihai; r-help@r-project.org
Betreff: SV: [R] How to comment in R

A hash (#) anywhere on a line will comment out the rest of the line. Try!
 
I don't think there is anything in R that will indicate the beginning and end 
of a "comment section" (like /* .... */ would in SAS). However most editors 
(and certainly emacs and Tinn-R) will allow you to comment out several lines.
 
Søren

________________________________

Fra: r-help-boun...@r-project.org på vegne af mihai.mira...@bafin.de
Sendt: on 11-02-2009 09:32
Til: r-help@r-project.org
Emne: [R] How to comment in R




Hi everybody,

I use for the moment "#" at the begining of each line for comments.

Is there any possibility to comment more than one line, like something which 
shows the beggingng and the end of the comment? Or is there a possibility to 
comment only a part of a line?

Thanks,

Mihai


        [[alternative HTML version deleted]]

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

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

Reply via email to