From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: org-babel, R, and org-babel-open-src-block-result Date: Tue, 11 Jan 2011 10:44:22 -0700 Message-ID: <87hbdfwd1l.fsf@gmail.com> References: <4D2C6F65.1040203@ccbr.umn.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=38469 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PciHo-0000jC-MS for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 12:47:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PciGm-000759-GJ for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 12:45:36 -0500 Received: from mail-yi0-f41.google.com ([209.85.218.41]:44518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PciGm-00074r-Df for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 12:44:32 -0500 Received: by yia25 with SMTP id 25so6522040yia.0 for ; Tue, 11 Jan 2011 09:44:31 -0800 (PST) In-Reply-To: (Leo Alekseyev's message of "Tue, 11 Jan 2011 16:54:21 +0000 (UTC)") 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: Leo Alekseyev Cc: emacs-orgmode@gnu.org Leo Alekseyev writes: > Erik Iverson ccbr.umn.edu> writes: > >> >> On 01/11/2011 04:22 AM, Leo Alekseyev wrote: >> > I recently started using org-babel with R, and so far I think it's >> > pretty great! I'm still getting accustomed to org-babel workflow and >> > am playing with available options. I have a couple of questions: >> > >> > I noticed that C-c C-o (org-babel-open-src-block-result) always gives >> > me an empty *Org-Babel Results* buffer, even if there's output printed >> > to #+results section. Is this a bug? Am I doing something wrong? >> > >> > On a similar note, is there an option for the #+ results session to be >> > completely suppressed?.. I can see situations where I might simply >> > want to send the code to the inferior process and examine the results >> > there using :results output :session, or perhaps I'm running the code >> > just for the side effects. It would be nice if I could say e.g. >> > :results none. >> >> From the manual: >> >> The following results options indicate what happens with the results once they >> are collected. >> >> * silent >> The results will be echoed in the minibuffer but will not be inserted into the >> Org-mode buffer. E.g., :results output silent. > > Thanks Erik. It would be nice if section 14.9 of the Org manual could > reference 14.8.2. I couldn't agree more, I've just pushed up this change to the manual. > In general, it would be nice if the org HTML documents could support > the same outline folding cycling behavior that you see in Emacs > buffers, otherwise it's difficult to see the surrounding context. > I personally prefer to use the Emacs `info' interface, both because you can easily text search through all parts of the manual, and for issues of navigation and viewing a wider context. > > I'd still like to know what (org-babel-open-src-block-result) is > supposed to do... Haven't found that in the manual. > Hmm, apparently in some cases it does nothing currently due to a bug, I've just fixed this buy, so please pull the latest Org-mode, and try copying the following block and results into and Org-mode buffer and calling C-c C-o from within the code block. #+begin_src emacs-lisp (mapcar #'list (reverse (org-babel-src-block-names))) #+end_src #+results: | tangle-A | | tangle-C | | i-have-a-name | | add-column-in-table-0 | | rec-string-wrap | | add-col | | a-list | | lob-header | | test | | name | | cycle | | body | | eight | | org-list | | numbers | Cheers -- Eric