emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xebar Saram <zeltakc@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>, tjolitz@gmail.com
Cc: Alan Schmitt <alan.schmitt@polytechnique.org>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: How do I chain babel blocks with arguments?
Date: Sun, 20 Apr 2014 06:33:01 +0300	[thread overview]
Message-ID: <CAOQHXPqONe-isDp0v=NuLGsi0Hmtu8JY+4cHnG2KECnsKR=6WA@mail.gmail.com> (raw)
In-Reply-To: <87oazwdb0y.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

Hi guys

a related newbie question that occurred to me from reading this thread
(sorry for "crashing" the thread :)). if i understand correctly from the
above posts, is there a way to batch evaluate multiple org mode code blocks
at once?
My use case is using babel with R statistics where i have multiple code
blocks and would like to run 10-12 blocks together in a consecutive order,
is that possible? if so how is this done?

best

Z


On Sun, Apr 20, 2014 at 4:41 AM, Eric Schulte <schulte.eric@gmail.com>wrote:

> > --8<---------------cut here---------------start------------->8---
> > #+name: z
> > : "bar"
> > #+name: test3
> > #+begin_src emacs-lisp :var x="foo"
> > x
> > #+end_src
> >
> > #+name:test4
> > #+begin_src emacs-lisp :var y=test1(x=z)
> > y
> > #+end_src
> >
> > #+results: test4
> > : "bar"
> >
> > #+call: test4(z="BAZ")
>                 ^
> The above line has an error, your "z" should be an "x".
>
> Best,
>
> --
> Eric Schulte
> https://cs.unm.edu/~eschulte
> PGP: 0x614CA05D
>
>

[-- Attachment #2: Type: text/html, Size: 1742 bytes --]

  reply	other threads:[~2014-04-20  3:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-16 17:04 How do I chain babel blocks with arguments? Alan Schmitt
2014-04-16 20:49 ` Charles Berry
2014-04-17 10:11   ` Alan Schmitt
2014-04-17 10:24     ` Thorsten Jolitz
2014-04-17 11:37       ` Alan Schmitt
2014-04-17  5:42 ` Eric Schulte
2014-04-18  6:43   ` Alan Schmitt
2014-04-20  1:41     ` Eric Schulte
2014-04-20  3:33       ` Xebar Saram [this message]
2014-04-21  1:22         ` Eric Schulte
2014-04-22  6:53       ` Alan Schmitt
2014-04-22 11:30         ` Eric Schulte
2014-04-22 12:47           ` Alan Schmitt
2014-04-24  1:16             ` Eric Schulte

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='CAOQHXPqONe-isDp0v=NuLGsi0Hmtu8JY+4cHnG2KECnsKR=6WA@mail.gmail.com' \
    --to=zeltakc@gmail.com \
    --cc=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    --cc=tjolitz@gmail.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).