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