From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremie Juste Subject: org-babel strange html print in R Date: Thu, 06 Feb 2020 19:23:36 +0100 Message-ID: <875zgjh8wn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59956) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izloS-000249-Ut for emacs-orgmode@gnu.org; Thu, 06 Feb 2020 13:23:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izloR-0006Mx-Tk for emacs-orgmode@gnu.org; Thu, 06 Feb 2020 13:23:40 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:40196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izloR-0006Ga-Lq for emacs-orgmode@gnu.org; Thu, 06 Feb 2020 13:23:39 -0500 Received: by mail-wm1-x329.google.com with SMTP id t14so1159735wmi.5 for ; Thu, 06 Feb 2020 10:23:39 -0800 (PST) Received: from freegnu (nat-eduroam-fr.ehess.fr. [193.48.45.220]) by smtp.gmail.com with ESMTPSA id o189sm439673wme.1.2020.02.06.10.23.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 10:23:37 -0800 (PST) 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: emacs-orgmode Hello, I've found that some strange results when outputing html from R. Do you have some insights on a potential solution? Best regards, Jeremie Org mode version 9.3.4 (9.3.4-elpa @ /home/djj/.emacs.d/elpa/org-20200206/) #+PROPERTY: header-args:R :eval yes :exports results :colnames yes :results output :output-dir images/ :cache yes :session *R* #+begin_src R :results output html library(xtable) x <- rnorm(100) y <- x + rnorm(100) print(xtable(summary(lm(y ~ x))),type="html") #+end_src #+RESULTS: #+begin_export html < < <
<
#+end_export ** Expected results #+begin_export html
Estimate Std. Error t value Pr(>|t|)
(Intercept) -0.0130 0.1023 -0.13 0.8991
x 1.0011 0.0987 10.14 0.0000
#+end_export