From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Feature request: :colnames and :hlines in ob-R.el Date: Fri, 7 Dec 2018 12:26:54 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d7f35b057c691f24" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVA4X-000086-49 for emacs-orgmode@gnu.org; Fri, 07 Dec 2018 01:57:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVA4W-0003bn-8W for emacs-orgmode@gnu.org; Fri, 07 Dec 2018 01:57:13 -0500 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]:39070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVA4W-0003bZ-1E for emacs-orgmode@gnu.org; Fri, 07 Dec 2018 01:57:12 -0500 Received: by mail-oi1-x22a.google.com with SMTP id i6so2608359oia.6 for ; Thu, 06 Dec 2018 22:57:11 -0800 (PST) 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" To: org-mode mailing list --000000000000d7f35b057c691f24 Content-Type: text/plain; charset="UTF-8" At the moment, ob-R.el does not support :colnames to have a list of column names as an argument. This seems to have been raised on the list many years ago [1], but it does not look like it was implemented. Is there a possibility that this could be implemented? Also, is it possible to allow :hlines to have a list of row numbers as arguments after which horizontal lines are drawn in the results? Could we support a syntax such as the following :hlines '(2 5 8) Or something of this kind, which could then be used to draw lines after these row numbers? I think these two features would make it much easier to customise tables created using R code blocks. Would appreciate any comments and suggests. Thanks very much and best wishes, Vikas [1] https://lists.gnu.org/archive/html/emacs-orgmode/2013-04/msg00499.html --000000000000d7f35b057c691f24 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

At the moment, ob-R.e= l does not support :colnames to have a list of column names as an argument.= This seems to have been raised on the list many years ago [1], but it does= not look like it was implemented. Is there a possibility that this could b= e implemented?

Also, is it possible to allow :hlin= es to have a list of row numbers as arguments after which horizontal lines = are drawn in the results? Could we support a syntax such as the following

:hlines '(2 5 8)

O= r something of this kind, which could then be used to draw lines after thes= e row numbers?

I think these two features woul= d make it much easier to customise tables created using R code blocks.

Would appreciate any comments and suggests.
<= div>
Thanks very much and best wishes,
--000000000000d7f35b057c691f24-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Feature request: :colnames and :hlines in ob-R.el Date: Fri, 07 Dec 2018 14:46:27 +0100 Message-ID: <87efat8n64.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVGSh-0006oz-Rf for emacs-orgmode@gnu.org; Fri, 07 Dec 2018 08:46:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVGSe-0000Yb-Ma for emacs-orgmode@gnu.org; Fri, 07 Dec 2018 08:46:35 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:60125) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVGSe-0000UL-Eq for emacs-orgmode@gnu.org; Fri, 07 Dec 2018 08:46:32 -0500 In-Reply-To: (Vikas Rawal's message of "Fri, 7 Dec 2018 12:26:54 +0530") 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" To: Vikas Rawal Cc: org-mode mailing list Hello, Vikas Rawal writes: > At the moment, ob-R.el does not support :colnames to have a list of column > names as an argument. This seems to have been raised on the list many years > ago [1], but it does not look like it was implemented. Is there a > possibility that this could be implemented? Patches are welcome. :) Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: Feature request: :colnames and :hlines in ob-R.el Date: Fri, 7 Dec 2018 20:03:03 +0530 Message-ID: References: <87efat8n64.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001dc219057c6f7f80" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVHC0-0000u9-09 for emacs-orgmode@gnu.org; Fri, 07 Dec 2018 09:33:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVHBz-000642-5k for emacs-orgmode@gnu.org; Fri, 07 Dec 2018 09:33:23 -0500 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:33861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVHBx-0005mc-Il for emacs-orgmode@gnu.org; Fri, 07 Dec 2018 09:33:23 -0500 Received: by mail-oi1-x22d.google.com with SMTP id h25so3529564oig.1 for ; Fri, 07 Dec 2018 06:33:20 -0800 (PST) In-Reply-To: <87efat8n64.fsf@nicolasgoaziou.fr> 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" To: org-mode mailing list --0000000000001dc219057c6f7f80 Content-Type: text/plain; charset="UTF-8" > > At the moment, ob-R.el does not support :colnames to have a list of > column > > names as an argument. This seems to have been raised on the list many > years > > ago [1], but it does not look like it was implemented. Is there a > > possibility that this could be implemented? > > Patches are welcome. :) > > My knowledge of lisp is too limited for me to be able to do this. How much I wish to be able to hack this kind of thing myself... :( Vikas --0000000000001dc219057c6f7f80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

> At the moment, ob-R.el does not support :colnames to have a list of co= lumn
> names as an argument. This seems to have been raised on the list many = years
> ago [1], but it does not look like it was implemented. Is there a
> possibility that this could be implemented?

Patches are welcome. :)

=C2=A0
My knowledge of lisp is too limited= for me to be able to do this. How much I wish to be able to hack this kind= of thing myself...

:(

Vikas
--0000000000001dc219057c6f7f80--