Re: [R] How to comment out a piece of a R code in XEmacs+ESS

From: Douglas Bates <bates_at_stat.wisc.edu>
Date: Sat, 16 Jun 2007 19:00:24 -0500

On 6/16/07, Ronaldo Reis Junior <chrysopa_at_gmail.com> wrote:

> When I using Xemacs+ESS to write a R code, I need to comment out a code line
> by line putting #

> It is possible to configure ESS to comment and uncomment a selected block of
> code.

This question probably belongs on the ESS-help mailing list which I am cc:ing on this reply.

The function you want is
 M-x comment-region

To use it to uncomment pass the argument -1, as in  M-x -1 M-x comment-region



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. Received on Sun 17 Jun 2007 - 00:04:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 17 Jun 2007 - 02:32:00 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.