emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: #+call ?


From: Noorul Islam K M
Subject: [Orgmode] Re: #+call ?
Date: Mon, 01 Nov 2010 11:10:37 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"Thomas S. Dye" <address@hidden> writes:

> Aloha all,
>
> I'm expecting to see the file bar.pdf output.
>
> #+srcname: single-date
> #+begin_src R :results output :file foo.pdf
>   library(ggplot2)
>   z <- read.csv(file = x)
>   g <-  ggplot(z, aes(x=1950 + cal.BP, y=Posterior.probability))
>   g + geom_bar(stat='identity') + xlab("Year AD") +
>     ylab("Probability")
> #+end_src
>
> #+call: single-date(x="alpha-2.csv") :file bar.pdf :height 4
>
> #+results: single-date(x="alpha-2.csv")
> [[file:foo.pdf]]
>
> Also, the :height header argument doesn't have any effect.
>
> I want the single-date source block to be a general function that I
> can call several times from an Org-mode file that I hope to distribute
> as a piece of reproducible research.  There will be separate #+calls
> for each of the graphs in the paper.
>
> Apologies in advance if the answer is obvious.  I'm using Org-mode
> version 7.02trans (release_7.02.37.g52fb)
>

I think there was similar discussion already in this list. 

Take a look at

http://www.mail-archive.com/address@hidden/msg32516.html

Thanks and Regards
Noorul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]