From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tyler Smith Subject: Re: R output with session polluted with ascii color codes Date: Fri, 16 Mar 2018 15:22:50 -0400 Message-ID: <1521228170.2752466.1305858152.04AFF461@webmail.messagingengine.com> References: <1521208657.1598400.1305479248.43DFD650@webmail.messagingengine.com> <1521221007.2704666.1305735416.38A89C63@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewuwI-0002Do-FR for emacs-orgmode@gnu.org; Fri, 16 Mar 2018 15:22:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewuwF-0004Ky-RS for emacs-orgmode@gnu.org; Fri, 16 Mar 2018 15:22:54 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:42077) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ewuwF-0004Ka-JQ for emacs-orgmode@gnu.org; Fri, 16 Mar 2018 15:22:51 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: William Denton Cc: Emacs Org-Mode Help On Fri, Mar 16, 2018, at 2:55 PM, William Denton wrote: > On 16 March 2018, Tyler Smith wrote: > > Anyway, I tried again, and there was still no problem in Emacs. That made me > wonder if the difference was in R. When I run "as_tibble(iris)" in the R > console in a terminal I don't get the ASCII colour codes, so maybe that's where > the difference lies? I'm running R 3.4.2, compiled from source, on Ubuntu > 17.10. I've tried this as well, outside of Emacs. For me, it depends on which terminal emulator I use. xterm displays the colours, while gnome terminal does not. Which is odd, because I use ansi colour codes for my prompt and ls output (etc), and those do display as expected in both xterm and gnome terminal. Weird! Thanks, Tyler