[ESS] Text in R shell (inferior buffer) becomes greyed-out after printing a tibble
Brett Presnell
pre@ne|| @end|ng |rom u||@edu
Sat Jul 2 16:37:39 CEST 2022
Thanks. This solution only appeared after I had implemented the other
fix, so I hadn't seen it.
Amit Ramon <amit.ramon using gmail.com> writes:
> ... there is another workaround, different from the above ono,
> suggested by Fuco1. It is a bit simpler:
>
> (defun my-inferior-ess-init ()
> (setq-local ansi-color-for-comint-mode 'filter)
> (smartparens-mode 1))
> (add-hook 'inferior-ess-mode-hook 'my-inferior-ess-init)
>
> For me Fuco1's solution works better than the other one. With the
> other solution some text is not printed to the screen. For example, if
> I print a tibble then the line under the column names, which should
> show the class for each column, is not shown (or cannot be
> seen). Also, if I run dplyr::if_else(TRUE, 1L, 0) then part of the
> error message is not shown.
>
> These problems do not occur with Fuco1's solution. However, with this
> solution, some text coloring is lost (for example
> 'library(tidyverse)'). However, for me these are minor issues, and so
> far this seems to fix the issues I had.
>
> Best,
> Amit
More information about the ESS-help
mailing list