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 07:09:10 -1000 Message-ID: References: <87y4kefvo9.fsf@posteo.de> <87wpzyfn46.fsf@posteo.de> <87vbfieywt.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]:46123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwZP3-0007yj-Sd for emacs-orgmode@gnu.org; Sun, 24 May 2015 13:09:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwZOy-0003sD-Th for emacs-orgmode@gnu.org; Sun, 24 May 2015 13:09:33 -0400 Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:54972) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1YwZOy-0003s3-MF for emacs-orgmode@gnu.org; Sun, 24 May 2015 13:09:28 -0400 In-Reply-To: <87vbfieywt.fsf@posteo.de> (Titus von der Malsburg's message of "Sun, 24 May 2015 09:13:54 -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: > On 2015-05-24 Sun 08:36, Thomas S. Dye wrote: >> 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 colnam= es. So >>> org apparently made them up when generating the table. >> >> Also expected due to :rownames yes :colnames yes. Without those two >> header arguments: >> > > Consider this example: > > #+BEGIN_SRC R :results table :exports results :colnames yes :rownames yes > v <- c("a", "b") > #+END_SRC > > #+RESULTS: > | | x | > |---+---| > | 1 | a | > | 2 | b | > > Where is the =E2=80=9Cx=E2=80=9D coming from? In R, colnames(v) gives me= NULL. rownames(v) is also NULL. You are asking Org mode to produce a table with row and column names from a vector, which lacks rows and columns. What behavior do you expect? All the best, Tom --=20 Thomas S. Dye http://www.tsdye.com