emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Torsten Wagner <torsten.wagner@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>,
	Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [babel] noweb does not work (as expected)
Date: Mon, 9 Nov 2009 16:38:17 +0900	[thread overview]
Message-ID: <200911091638.17208.torsten.wagner@googlemail.com> (raw)
In-Reply-To: <1521DF86-F0CA-4730-A179-3C6F93C67825@tsdye.com>

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

  reply	other threads:[~2009-11-09  7:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09  3:47 [babel] noweb does not work (as expected) Torsten Wagner
2009-11-09  4:33 ` Thomas S. Dye
2009-11-09  7:38   ` Torsten Wagner [this message]
2009-11-09 16:32     ` Thomas S. Dye
2009-11-10  1:40       ` Torsten Wagner
2009-11-09  4:41 ` Dan Davison
2009-11-09  7:16   ` Torsten Wagner
2009-11-09 16:04     ` Dan Davison
2009-11-10  1:51       ` Torsten Wagner
2009-11-10  5:33         ` Eric Schulte
2009-11-10  3:02 ` [babel] (solved) " Torsten Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200911091638.17208.torsten.wagner@googlemail.com \
    --to=torsten.wagner@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).