[ESS-bugs] ess-mode 16.10 [Released git: e92ed78b8890]; Quoted Comment Character and C-c C-c
Martin Maechler
maechler at stat.math.ethz.ch
Thu Nov 23 09:08:54 CET 2017
>>>>> Mario Bourgoin <mabou at microsoft.com>
>>>>> on Tue, 21 Nov 2017 13:14:03 +0000 writes:
> Hi,
> In an R source file, I have the line:
> scored <- read.csv(scored_path, comment.char="#")
> When I'm on the line and execute ess-eval-region-or-function-or-paragraph-and-step (i.e. C-c C-c), R only receives this:
>> scored <- read.csv(scored_path, comment.char="
> +
> As you see, the function isn't parsing the line correctly: it stops reading at the R comment character even though it is between quotes.
> How do I make the function parse the quoted comment char correctly?
Upgrade to ESS 17.11 which was released ca one week ago.
I've tried the above line, both with C-c C-c and C-u C-c C-c
(one "with visibility", once without),
and did not see the problem.
Martin
> If I select the line as a region, then C-c C-c works correctly, which is a workaround but not what I seek. I have searched the fine manual for "comment" but nothing useful came out. And I have searched for "ess-eval-region-or-function-or-paragraph-and-step comment char" but nothing useful came up.
> Mario
More information about the ESS-bugs
mailing list