From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: table column with trailing 0s
Date: Tue, 27 Mar 2012 22:02:18 +0200 [thread overview]
Message-ID: <87y5qlak39.fsf@med.uni-goettingen.de> (raw)
Hi all,
I am trying to get a table generated from R to be pretty printed in
org mode (and the export).
Suppose, I have a table like this (typical statistical table):
#+attr_latex: align=lr
#+begin_src R :colnames yes :exports results
data.frame(parameter=c("param1", "param2", "param3", "param4"),
pvalue=c("0.80", "0.15", "*0.03*", "*< 0.01*"))
#+end_src
#+results:
| parameter | pvalue |
|-----------+----------|
| param1 | 0.8 |
| param2 | 0.15 |
| param3 | *0.03* |
| param4 | *< 0.01* |
Here, org mode strips the trailing 0 from param1 which makes the
table a lot less readable.
How can I tell org not to trim the contents of string(!) columns?
Regards,
Andreas
next reply other threads:[~2012-03-27 20:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 20:02 Andreas Leha [this message]
2012-03-27 21:59 ` table column with trailing 0s Thomas S. Dye
2012-03-27 22:24 ` Andreas Leha
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y5qlak39.fsf@med.uni-goettingen.de \
--to=andreas.leha@med.uni-goettingen.de \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.