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

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

On 6/16/07, Ronaldo Reis Junior <> 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 mailing list PLEASE do read the posting guide 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 Please read the posting guide before posting to the list.