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

Douglas Bates bates at stat.wisc.edu
Sun Jun 17 02:00:24 CEST 2007


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




More information about the ESS-help mailing list