Re: [R] Comment blocks in R programs

From: Lanre Okusanya <lanre.okusanya_at_gmail.com>
Date: Wed 20 Sep 2006 - 18:23:21 GMT

Tinn-R has that functionality.

On 9/20/06, Romain Francois <rfrancois@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@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@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.
>



R-help@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. Received on Thu Sep 21 04:25:21 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 20 Sep 2006 - 19:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.