[ESS] commented-out parentheses cause error in C-c C-c
Stephen Eglen
S.J.Eglen at damtp.cam.ac.uk
Fri Oct 23 10:34:03 CEST 2009
Levi Waldron <lwaldron.research at gmail.com> wrote:
> For example the following R code, which contains no errors or unbalanced
> parentheses:
>
> ## fun <- function(x){
> ## x^2
> ## }
>
> print("hello world")
>
> Using this with an inferior R process, all of the eval commands work except
> for C-c C-c. If I hold the cursor over the print line (or anywhere) and
> press C-c C-c, I get the following error and it does not evaluate:
>
> Scan error: "Unbalanced parentheses", 22, 60
>
> I am using GNU Emacs 21.4.1, ESS version 5.5. The same problem existed in
> ESS 5.3.8.
Thanks, I can confirm this on Emacs 23.1 (no fix yet though).
Stephen
More information about the ESS-help
mailing list