From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: Re: [babel] noweb does not work (as expected) Date: Mon, 9 Nov 2009 16:38:17 +0900 Message-ID: <200911091638.17208.torsten.wagner@googlemail.com> References: <200911091247.48775.torsten.wagner@googlemail.com> <1521DF86-F0CA-4730-A179-3C6F93C67825@tsdye.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7OpQ-0004xb-0o for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 02:38:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7OpL-0004wG-Hd for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 02:38:19 -0500 Received: from [199.232.76.173] (port=56963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7OpL-0004wD-DJ for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 02:38:15 -0500 Received: from mail-yw0-f194.google.com ([209.85.211.194]:40228) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7OpL-00038P-39 for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 02:38:15 -0500 Received: by ywh32 with SMTP id 32so2730549ywh.14 for ; Sun, 08 Nov 2009 23:38:14 -0800 (PST) In-Reply-To: <1521DF86-F0CA-4730-A179-3C6F93C67825@tsdye.com> 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: "Thomas S. Dye" , Org Mode Mailing List Hi Tom, If I try to use the noweb way, I always got error messages which tells me that org-babel can not read the result correctly > > #+srcname: r-load-libraries > #+begin_src R > library(RMySQL) > library(reshape) > library(xtable) > #+end_src As I see you do not use any special header here which means results is set to value, right? However, there is no special return line to org-babel either. In my understanding and according to my error messages library(xtable) would be evaluated as the result of this block... However this results in error messages at least for python. Which org-babel version due you use (which branch)? Maybe you or someone else can bring some more light into this :results topic. I somehow miss the option :results none to avoid any results which should be useful if the source code block is just a piece of a bigger arrangement. For literate programming and RR it might be essential to spread blocks over the file which will be tangled together (by tangle or a noweb block). However not all need provide a result but just need to run in the same session. Maybe just the last block of such an arrangement will come up with a result suitable for org-babel. Actually I prefer the idea of :noweb instead of tangle, which seems to me more flexible and faster. Just need to get it running Thanks Torsten