From mboxrd@z Thu Jan 1 00:00:00 1970 From: andy Subject: [babel] Problem using noweb Date: Wed, 09 Feb 2011 10:33:32 -0500 Message-ID: <4D52B3CC.5060701@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=53487 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnCMN-0003dg-I7 for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 10:53:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnCMM-0004q5-Ed for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 10:53:39 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:50742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnC34-0000tc-Mg for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 10:33:42 -0500 Received: by vws10 with SMTP id 10so161287vws.0 for ; Wed, 09 Feb 2011 07:33:41 -0800 (PST) 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: emacs-orgmode@gnu.org I want to take advantage of babel's noweb capabilities, but I can't seem to get it to work. I'm sure there is something trivial wrong with my source block, but after looking at the documentation and looking at the examples I can find on the web, I think this should work. I define a variable in test-block, but it's not there, even though test-block should be getting pulled in when I run the source block, bar. What am I doing wrong? My .emacs has R defined and indeed, the session *R* starts up without any problems and the print statement works, but test-block just isn't there. * Foo ** Bar #+src_name: bar #+begin_src R :noweb yes :session *R* <> print("I am here") a #+end_src * test-block #+src_name: test-block #+begin_src R :session *R* a <- c(1,2,3,4,5) #+end_src thanks --andy