Re: Text in R shell (inferior buffer) becomes greyed-out after printing a tibble

Brett Presnell via ESS-help <[email protected]>
Newsgroups gmane.emacs.ess.general
Message-ID <[email protected]>
Thanks.  This solution only appeared after I had implemented the other
fix, so I hadn't seen it.

Amit Ramon <[email protected]> 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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.