From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [Announcement] Org-babel initial release Date: Tue, 15 Sep 2009 09:10:29 -0600 Message-ID: References: <330fb75e0909150631k495e4f2cy9fe344a0a12b2841@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnZgU-0005E3-Fc for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 11:11:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnZgP-0005BM-Az for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 11:11:09 -0400 Received: from [199.232.76.173] (port=40915 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnZgP-0005B3-8O for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 11:11:05 -0400 Received: from mail-px0-f171.google.com ([209.85.216.171]:60168) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnZgN-0002dt-UN for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 11:11:04 -0400 Received: by pxi1 with SMTP id 1so3453366pxi.1 for ; Tue, 15 Sep 2009 08:11:03 -0700 (PDT) In-Reply-To: (Eric Schulte's message of "Tue, 15 Sep 2009 08:49:31 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Miguel Fernando Cabrera Cc: Org Mode Hi Miguel, It seems I spoke too soon, It looks like the current version of Org-babel will support dynamic clock tables if they are structured as the following with a #+tblname: line preceding the block. --8<---------------cut here---------------start------------->8--- #+TBLNAME: todays-clock #+BEGIN: clocktable :maxlevel 2 :block today :scope tree1 :link t Clock summary at [2009-09-15 Tue 08:51], for Tuesday, September 15, 2009. | L | Headline | Time | | |---+--------------+--------+------| | | *Total time* | *1:10* | | |---+--------------+--------+------| | 1 | top | 1:10 | | | 2 | show all | | 1:00 | | 2 | later | | 0:10 | #+END: clocktable #+begin_src emacs-lisp :var data=todays-clock (length (car data)) #+end_src #+resname: : 4 #+begin_src emacs-lisp :var data=todays-clock (length data) #+end_src #+resname: : 4 --8<---------------cut here---------------end--------------->8--- Unfortunately I don't know much about R, so converting the times to something easily graphed in a pie chart may be a little bit more difficult. Best -- Eric