From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Kamm Subject: Re: Bug: HTML not formatted correctly from R source code block [9.3.6 (9.3.6-23-g01ee25-elpaplus @ /home/opdfa/.emacs.d/elpa/org-plus-contrib-20200309/)] Date: Tue, 10 Mar 2020 17:17:48 -0700 Message-ID: <87ftef218z.fsf@gmail.com> References: <20200310011255.2d045f82@t460> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56930) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBp5e-0005NF-CZ for emacs-orgmode@gnu.org; Tue, 10 Mar 2020 20:19:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBp5c-0000g7-UX for emacs-orgmode@gnu.org; Tue, 10 Mar 2020 20:19:14 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:50850) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBp5c-0000U2-MI for emacs-orgmode@gnu.org; Tue, 10 Mar 2020 20:19:12 -0400 Received: by mail-pj1-x1034.google.com with SMTP id u10so64691pjy.0 for ; Tue, 10 Mar 2020 17:19:11 -0700 (PDT) In-Reply-To: <20200310011255.2d045f82@t460> 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: Steven Delean , "emacs-orgmode@gnu.org" Hi Steve, Steven Delean writes: > HTML table produced from a source code block (using R code) does not display > because html code is not formatted correctly in the exported html output. I believe this is the same issue as reported here: https://lists.gnu.org/archive/html/emacs-orgmode/2020-02/msg00267.html Though, that thread was for ":session" blocks, and it's unclear whether you're using session or non-session evaluation here. Anyways, that thread suggests that ":results value html" works correctly, does switching to that work for you? If I'm correct, the basic problem is that ob-R tries to remove interactive shell prompts like ">" from the output. This can also cause other problems. I think it can be fixed by changing ob-R to use `ess-eval-region' to evaluate code, I'll try to submit a patch for this after 9.4 is released.