Something like /*...*/ is what I am looking for ... -----Ursprüngliche Nachricht----- Von: Søren Højsgaard [mailto:[email protected]] Gesendet: Mittwoch, 11. Februar 2009 09:40 An: Mirauta, Mihai; [email protected] 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: [email protected] på vegne af [email protected] Sendt: on 11-02-2009 09:32 Til: [email protected] 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]] ______________________________________________ [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. ______________________________________________ [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.

