Export to GitHub

ess-tracebug - issue #9

Invisibly evaluating lines can yields strange results


Posted on Oct 24, 2011 by Grumpy Cat

What steps will reproduce the problem? 1. Run:

x <- c("ab", "ac", "ad", "af")

  1. Invisibly evaluate this line with ess-tracebug running:

grep("(c|d)", x, value = T)

What is the expected output? What do you see instead?

The expected output is

[1] "ac" "ad"

but the output I get is

[1] "ac"

Visibly evaluating the line works, just doing it invisibly produces the wrong result. Without ess-tracebug, no such problem occurs.

Using Emacs 23.3, ESS 5.14, R 2.23.1, ess-tracebug rev 95 on Arch Linux AMD64.

Comment #1

Posted on Oct 24, 2011 by Quick Wombat

Thanks for spotting it. Introduced this bug when added the business indicator.

It's solved now.

Best, Vitalie.

Status: Fixed

Labels:
Type-Defect Priority-Medium