emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] R code, LaTex export of tables


From: Neuwirth Erich
Subject: [O] R code, LaTex export of tables
Date: Fri, 21 Dec 2012 17:08:43 +0100

The following piece of code
produced nicely formatted table
some time ago when exported through LaTex.
It comes from http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html

#+BEGIN_SRC R :results output org :exports both
library(ascii)
a <- runif(100)
c <- "Quantiles of 100 random numbers"
b <- ascii(quantile(a),header=TRUE,include.colnames=TRUE)
print(b,type="org")
rm(a,b,c)
#+END_SRC
 

When I tried again now, it renders the table as org source code for tables
|0% |25% |50% |75% |100%| 
|------+------+------+------+------| 
| 0.01 | 0.26 | 0.51 | 0.76 | 1.00 |

And does not format it nicely.
How can I make this work "the old way"?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]