From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Kamm Subject: Re: org-babel strange html print in R Date: Tue, 11 Feb 2020 07:40:44 -0800 Message-ID: <87r1z1xhc3.fsf@gmail.com> References: <875zgjh8wn.fsf@gmail.com> <87blq5u2j9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45826) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1Xfa-0003WA-QR for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 10:41:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1XfZ-0007er-Iw for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 10:41:50 -0500 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:40521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1XfZ-0007ck-BT for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 10:41:49 -0500 Received: by mail-pf1-x431.google.com with SMTP id q8so5668687pfh.7 for ; Tue, 11 Feb 2020 07:41:49 -0800 (PST) In-Reply-To: <87blq5u2j9.fsf@gmail.com> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: numbchild@gmail.com, Jeremie Juste Cc: emacs-orgmode@gnu.org Hi, stardiviner writes: > You should try ~:results value html~. Here is what I got correctly: Yes, this seems like the best solution for this case. On the other hand, it would be desirable if ":results output" didn't mangle the output, due to trying to clean up prompts. There is probably some corner case out there where this is a more serious issue -- but for this case, it seems best to just use ":results value html". I was planning to submit my implementation of ":session :results output" that avoids the prompt mangling [0], but now I'm leaning towards putting this off, until a more compelling case arises to justify it. [0] https://github.com/jackkamm/ob-session-async/blob/master/lisp/ob-session-async-R.el