From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Bug: Org export to latex produces incorrect table [8.3beta (release_8.3beta-1157-g8ddb84 @ /home/malsburg/usr/share/emacs/site-lisp/org/)] Date: Sun, 24 May 2015 05:36:32 -1000 Message-ID: References: <87y4kefvo9.fsf@posteo.de> <87wpzyfn46.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwXxM-0008JV-R6 for emacs-orgmode@gnu.org; Sun, 24 May 2015 11:36:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwXxJ-0001z3-4g for emacs-orgmode@gnu.org; Sun, 24 May 2015 11:36:52 -0400 Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:56749) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1YwXxI-0001ym-TT for emacs-orgmode@gnu.org; Sun, 24 May 2015 11:36:49 -0400 In-Reply-To: <87wpzyfn46.fsf@posteo.de> (Titus von der Malsburg's message of "Sun, 24 May 2015 00:31:05 -0700") 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: Titus von der Malsburg Cc: emacs-orgmode@gnu.org Titus von der Malsburg writes: >> You got the result of rownames(x), which is expected. The table you >> expect is given by the following code: > > Ah, I see, thanks. Although the results is still somewhat > unexpected. c("One:", "Two:") doesn=E2=80=99t have rownames and colnames= . So > org apparently made them up when generating the table. Also expected due to :rownames yes :colnames yes. Without those two header arguments: #+header: :session #+BEGIN_SRC R :results table :exports results x <- data.frame(a=3D1:2, b=3D3:4) rownames(x) <- c("One:", "Two:") #+END_SRC #+results: | One: | | Two: | hth, Tom --=20 Thomas S. Dye http://www.tsdye.com