[ESS-bugs] Embarrassing ESS bug in modifying R's output ("+" in output misinterpreted)

Vitalie Spinu spinuvit at gmail.com
Thu Nov 21 05:55:45 CET 2013


It is as embarrassing as any other bug. 

It is a consequence of ESS splitting the prompt. So that you can have
output aligned correctly and instead of this

> + + + + + +   Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1          5.1         3.5          1.4         0.2  setosa
2          4.9         3.0          1.4         0.2  setosa
3          4.7         3.2          1.3         0.2  setosa
4          4.6         3.1          1.5         0.2  setosa
5          5.0         3.6          1.4         0.2  setosa
6          5.4         3.9          1.7         0.4  setosa

you have this:

> + + + + + +   
  Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1          5.1         3.5          1.4         0.2  setosa
2          4.9         3.0          1.4         0.2  setosa
3          4.7         3.2          1.3         0.2  setosa
4          4.6         3.1          1.5         0.2  setosa
5          5.0         3.6          1.4         0.2  setosa
6          5.4         3.9          1.7         0.4  setosa


I have adjusted the regexp; should be fine now.

   Vitalie


 >>> Martin Maechler on Thu, 21 Nov 2013 05:35:20 +0100 wrote:

 > Whoa!
 > Try in R

 >      symnum( cor(USJudgeRatings) )

 > in *R*, ESS decides to add extra line breaks .... horribly!

 > and then run R in a shell and try the same if you need to see how it
 > must look like.

 > _______________________________________________
 > ESS-bugs ESS-bugs at r-project.org
 > https://stat.ethz.ch/mailman/listinfo/ess-bugs

 > _______________________________________________
 > ESS-core list: https://stat.ethz.ch/mailman/listinfo/ess-core



More information about the ESS-bugs mailing list