emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Neuwirth Erich <erich.neuwirth@univie.ac.at>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: R code, LaTex export of tables
Date: Fri, 21 Dec 2012 17:08:43 +0100	[thread overview]
Message-ID: <674B2282-073F-4AE2-ACED-528AE765A740@univie.ac.at> (raw)

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	other threads:[~2012-12-21 16:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-21 16:08 Neuwirth Erich [this message]
2012-12-21 19:14 ` R code, LaTex export of tables Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=674B2282-073F-4AE2-ACED-528AE765A740@univie.ac.at \
    --to=erich.neuwirth@univie.ac.at \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).