From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [babel, bug?] colnames with a list of columns does not work Date: Thu, 22 Jan 2015 17:47:37 +0100 Message-ID: References: <86zj9bytg4.fsf@example.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEKvN-0001Is-02 for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 11:48:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEKvJ-00082Y-Fn for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 11:48:04 -0500 Received: from plane.gmane.org ([80.91.229.3]:37705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEKvJ-00082G-8v for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 11:48:01 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YEKvD-0007Cd-I0 for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 17:47:55 +0100 In-Reply-To: <86zj9bytg4.fsf@example.com> (Sebastien Vauban's message of "Thu, 22 Jan 2015 11:56:43 +0100") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sebastien Vauban writes: > Hello, > > The following ECM shows it all: > > #+begin_src R :rownames yes :colnames '(Lg Nb) > data(iris) > head(table(iris$Petal.Length, iris$Species)[, "setosa"]) > #+end_src > > returns: > > | | x | > |-----+----| > | 1 | 1 | > | 1.1 | 1 | > | 1.2 | 2 | > | 1.3 | 7 | > | 1.4 | 13 | > | 1.5 | 13 | > > while I was expecting: > > | Lg | Nb | > |-----+----| > | 1 | 1 | > | 1.1 | 1 | > | 1.2 | 2 | > | 1.3 | 7 | > | 1.4 | 13 | > | 1.5 | 13 | WHy should it? The org-info manual states: ,---- | The `:colnames' header argument accepts the values `yes', `no', or | `nil' for unassigned. The default value is `nil'. Note that the | behavior of the `:colnames' header argument may differ across languages. `---- It says nothing about accepting any other values. Unless I am missing something? Cheers, Rainer > > Am I missing something? > > Best regards, > Seb =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJUwSmwAAoJENvXNx4PUvmCn3IIALceZSWfuos3O80iMiXXQ3uZ AdjeZHaOvC/hmQ6qp+WWZolaut5M0kff0HxRM+RyOV5ovr47HE1/mj0e2oKsoVgf wgjwk3Wd6P97eS19lJUfLglwcYAM1UExzDDCPGuJ0NTmyCrjlPMLqvxOb/BKDZiJ Wms3gUTclElOU2wJRKfW/Aoy1jf3l/pP2gsfz1fc7uaaIYynbKp+615Xhx2UbOdB 3wgcjUfGXPPFTN6AzPTTor3JaU6QdhesgoxiJZA9f0+adrOh9CHRUBUv1oLGqlWO 4DsczMPMVY1g6Biz2n9FT6DCj8KRGRX/Nz6crJYvHL3M3+bOntOuhHlGVl2AUoY= =gLkA -----END PGP SIGNATURE----- --=-=-=--