From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GDxGOBmlz16oHwAA0tVLHw (envelope-from ) for ; Thu, 28 May 2020 11:48:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id Op4WNBmlz17hBwAA1q6Kng (envelope-from ) for ; Thu, 28 May 2020 11:48:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 84E59940253 for ; Thu, 28 May 2020 11:48:40 +0000 (UTC) Received: from localhost ([::1]:56978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeH1Z-0001H5-RR for larch@yhetil.org; Thu, 28 May 2020 07:48:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeH1E-0001Gx-Ns for emacs-orgmode@gnu.org; Thu, 28 May 2020 07:48:16 -0400 Received: from mail-ej1-f51.google.com ([209.85.218.51]:36763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jeH1C-0000fy-BX for emacs-orgmode@gnu.org; Thu, 28 May 2020 07:48:16 -0400 Received: by mail-ej1-f51.google.com with SMTP id z5so31765862ejb.3 for ; Thu, 28 May 2020 04:48:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=F5kv13xFnMAg91CcUEv9E6ejwx8pCVCXiRSY8eE27zg=; b=KWNBlkKW+RZixoJQ0pjUKWum6FOkOhEfFEBBjvoOS5Aohu2iWuUkcVcOIiTBuI2PZ5 N9ySpQ2r/7s3PBXAqNqRgxMilT6qs4gAuYFgsjSxOyhCQfrYO8yt7vUfvUppv7NSrQTj yIcisDO9qV9fiqR61V/+uE1eRnoboVCNxiyoGHioOJGMXqrwnVHtAE+xVLN3g1ztnZWS b6IlWTkDhGlMtviyhIp0D3SmtNAC+1/czxU5GIUXPo0MY2AtwBaQ/AG0DW/7AQhyz56/ neZlRNyK97FgVp5Kq24LV/NbiU8zNBBOZqRwp/EWNvre0FOWLZL8cQXC5u7sZRGF16Lk 9iiQ== X-Gm-Message-State: AOAM5319vFt8UpfF3gFijX/zTxLmn7032HH9klAL18cHGV7RGSfq3ZTU ZtV4/oNP0MqM+LbTjHSm50dgozyAFxNPgJdg6XJMQhyy X-Google-Smtp-Source: ABdhPJxcgT/1RqAoZUcxuJkQCFrJP3anTKVeQ8bqiPnUXqFKMVtuAZqhVTQ1J41BJE7a4qPfFZnhtX4T8w+zoRkpYlA= X-Received: by 2002:a17:906:868f:: with SMTP id g15mr2575166ejx.208.1590666491855; Thu, 28 May 2020 04:48:11 -0700 (PDT) MIME-Version: 1.0 From: ian martins Date: Thu, 28 May 2020 07:48:00 -0400 Message-ID: Subject: org-babel :colnames yes To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000034076105a6b3e737" Received-SPF: pass client-ip=209.85.218.51; envelope-from=ianxm1@gmail.com; helo=mail-ej1-f51.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/28 07:48:12 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=jhu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.91 X-TUID: jpCbMIYviN+w --00000000000034076105a6b3e737 Content-Type: text/plain; charset="UTF-8" Hello, I'm trying to figure out how to tell org that the first row of a src block result is a table header. from readthedocs it looks like ":colnames yes" should do this, but I haven't been able to get it to work, and the code doesn't appear to want that to happen. maybe that is special handling for R . #+BEGIN_SRC elisp :colnames yes '((one two) (1 3) (1 6)) #+END_SRC I'm expecting an hline in the output but do not find one. I know ":colnames '(one two)" works, but I don't know the header value until I've generated the table. -Ian --00000000000034076105a6b3e737 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, I'm trying to figure out how to tell org t= hat the first row of a src block result is a table header.

from readthedocs it looks like ":colnames yes" sho= uld do this, but I haven't been able to get it to work, and the= code doesn't appear to want that to happen. maybe that is spe= cial handling for R.

#+BEGIN_SRC elisp :colnames yes<= br>=C2=A0 '((one two) (1 3) (1 6))
#+END_SRC

I'm expecting an hline in the output but do not find one.

I know ":colnames '(one two)" works, but I = don't know the header value until I've generated the table.

-Ian
--00000000000034076105a6b3e737--