[R] Comment blocks in R programs

Lanre Okusanya lanre.okusanya at gmail.com
Wed Sep 20 20:23:21 CEST 2006


Tinn-R has that functionality.

On 9/20/06, Romain Francois <rfrancois at mango-solutions.com> wrote:
> Gabor Grothendieck wrote:
> > Try this:
> >
> > if (FALSE) {
> > ... whatever ...
> > }
> >
>
> Problem is,
> ... whatever ...
> must be syntactically correct to use that trick.
>
> Why not using a text editor that does rectangular selection or
> commenting several lines at a time, there are many out there to propose
> that kind of feature.
>
> Cheers,
>
> Romain
>
>
> > On 9/20/06, Joe Byers <joe-byers at utulsa.edu> wrote:
> >
> >> All,
> >>
> >> Is there a way to add comment blocks in an R script other than using #
> >> at the beginning of each line?  Or, is there anything like ndocs for C++
> >> and the markup for Java that can generate documentation?
> >>
> >> This may be a bad question, but I have searched R documentation and
> >> can't seem to find an Answer.  I have also looked at the R package
> >> documentation mark up docs for help files but that was more than I wanted.
> >>
> >>
> >> thank you for you help.
> >> Joe
> >>
>
> --
> *mangosolutions*
> /data analysis that delivers/
>
> Tel   +44 1249 467 467
> Fax   +44 1249 467 468
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>



More information about the R-help mailing list