From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: table column with trailing 0s Date: Tue, 27 Mar 2012 22:02:18 +0200 Message-ID: <87y5qlak39.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCcbh-0002rU-C9 for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 16:03:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCcbf-0004pr-Oe for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 16:03:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:35360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCcbf-0004pO-Hg for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 16:03:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SCcba-0008Fs-U1 for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 22:02:58 +0200 Received: from 134.76.2.86 ([134.76.2.86]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Mar 2012 22:02:58 +0200 Received: from andreas.leha by 134.76.2.86 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Mar 2012 22:02:58 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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