Ronaldo Reis Junior
2007-Jun-16 23:49 UTC
[R] How to comment out a piece of a R code in XEmacs+ESS
Hi, 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. Thanks Ronaldo -- __ _ / `-' ) ,,, | | ()|||||||[:::e \__.-._) ''' unk --> Prof. Ronaldo Reis J?nior| .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Ecologia | : :' : Campus Universit?rio Prof. Darcy Ribeiro, Vila Mauric?ia | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil | `- Fone: (38) 3229-8187 | ronaldo.reis em unimontes.br | chrysopa em gmail.com | http://www.ppgcb.unimontes.br/ | ICQ#: 5692561 | LinuxUser#: 205366
Douglas Bates
2007-Jun-17 00:00 UTC
[R] How to comment out a piece of a R code in XEmacs+ESS
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