[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-babel strange html print in R
From: |
Jeremie Juste |
Subject: |
Re: org-babel strange html print in R |
Date: |
Sat, 08 Feb 2020 00:54:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
Jack Kamm <address@hidden> writes:
> Dominique Dumont <address@hidden> writes:
>
>> On my system, org-mode 3.6.1 provides the expected table.
>
> My system produces the expected table as well (org 9.3.2, R 3.6.2).
>
> --Jack
Thanks for the info.
Unfortunately I couldn't identify the issue
I updated R and org (org 9.3.2, R 3.6.2).
launched
> emacs -Q
- executed the following commands
(add-to-list 'load-path "/home/djj/.emacs.d/elpa/ess-20200115.225")
(add-to-list 'load-path "/home/djj/.emacs.d/elpa/julia-mode-20180816.2117")
(require 'ess-site)
(org-babel-do-load-languages
'org-babel-load-languages
'( (R . t)
))
but I'm still getting
#+begin_src R :results output :cache no :session "R2"
library(xtable)
x <- rnorm(100)
y <- x + rnorm(100)
a <- summary(lm(y ~ x))
print(xtable(a),type="html")
#+end_src
#+RESULTS:
#+begin_example
<!-- html table generated in R 3.6.2 by xtable 1.8-4 package -->
<!-- Sat Feb 8 00:49:03 2020 -->
<table border=1>
<
<
</
<
Estimate </
<
Std. Error </
<
t value </
<
Pr(>|t|) </
</tr>
<
<td align="right"
(Intercept) </
<td align="right"
0.0353 </
<td align="right"
0.1019 </
<td align="right"
0.35 </
<td align="right"
0.7294 </
</tr>
<
<td align="right"
x </
<td align="right"
0.9426 </
<td align="right"
0.0882 </
<td align="right"
10.68 </
<td align="right"
0.0000 </
</tr>
</table>
#+end_example
Best regards,
Jeremie
Re: org-babel strange html print in R, stardiviner, 2020/02/11