* #+call ?
@ 2010-11-01 3:44 Thomas S. Dye
2010-11-01 5:40 ` Noorul Islam K M
0 siblings, 1 reply; 6+ messages in thread
From: Thomas S. Dye @ 2010-11-01 3:44 UTC (permalink / raw)
To: Org Mode
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)
All the best,
Tom
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: #+call ?
2010-11-01 3:44 #+call ? Thomas S. Dye
@ 2010-11-01 5:40 ` Noorul Islam K M
2010-11-01 6:21 ` Thomas S. Dye
0 siblings, 1 reply; 6+ messages in thread
From: Noorul Islam K M @ 2010-11-01 5:40 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Org Mode
"Thomas S. Dye" <tsd@tsdye.com> 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/emacs-orgmode@gnu.org/msg32516.html
Thanks and Regards
Noorul
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: #+call ?
2010-11-01 5:40 ` Noorul Islam K M
@ 2010-11-01 6:21 ` Thomas S. Dye
2010-11-01 6:24 ` Thomas S. Dye
0 siblings, 1 reply; 6+ messages in thread
From: Thomas S. Dye @ 2010-11-01 6:21 UTC (permalink / raw)
To: Noorul Islam K M; +Cc: Org Mode
On Oct 31, 2010, at 7:40 PM, Noorul Islam K M wrote:
> "Thomas S. Dye" <tsd@tsdye.com> 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/emacs-orgmode@gnu.org/msg32516.html
>
> Thanks and Regards
> Noorul
Aloha Noorul,
There is a similar question, but no answer that I can find. Did you
see an answer there?
All the best,
Tom
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: #+call ?
2010-11-01 6:21 ` Thomas S. Dye
@ 2010-11-01 6:24 ` Thomas S. Dye
2010-11-05 8:40 ` Sébastien Vauban
0 siblings, 1 reply; 6+ messages in thread
From: Thomas S. Dye @ 2010-11-01 6:24 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Org Mode, Noorul Islam K M
Replying to his own message:
I found Eric's reply. Sorry for the noise.
All the best,
Tom
On Oct 31, 2010, at 8:21 PM, Thomas S. Dye wrote:
>
> On Oct 31, 2010, at 7:40 PM, Noorul Islam K M wrote:
>
>> "Thomas S. Dye" <tsd@tsdye.com> 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/emacs-orgmode@gnu.org/msg32516.html
>>
>> Thanks and Regards
>> Noorul
>
> Aloha Noorul,
>
> There is a similar question, but no answer that I can find. Did you
> see an answer there?
>
> All the best,
> Tom
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: #+call ?
2010-11-01 6:24 ` Thomas S. Dye
@ 2010-11-05 8:40 ` Sébastien Vauban
2010-11-05 10:43 ` Sébastien Vauban
0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Vauban @ 2010-11-05 8:40 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hi Thomas,
"Thomas S. Dye" wrote:
>> There is a similar question, but no answer that I can find. Did you see an
>> answer there?
>
> Replying to his own message:
>
> I found Eric's reply. Sorry for the noise.
Could you put a link to that message, or the update code block? I also have
problems finding it ;-) Thanks.
Best regards,
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: #+call ?
2010-11-05 8:40 ` Sébastien Vauban
@ 2010-11-05 10:43 ` Sébastien Vauban
0 siblings, 0 replies; 6+ messages in thread
From: Sébastien Vauban @ 2010-11-05 10:43 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hello,
Sébastien Vauban wrote:
> "Thomas S. Dye" wrote:
>>> There is a similar question, but no answer that I can find. Did you see an
>>> answer there?
>>
>> I found Eric's reply. Sorry for the noise.
>
> Could you put a link to that message, or the update code block? I also have
> problems finding it ;-) Thanks.
Found it:
[[http://mid.gmane.org/87hbg7fvzo.fsf%40gmail.com][Email from Eric Schulte: Re: org babel and alternative]]
[2010-10-27 Wed 18:20]
Best regards,
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-11-05 10:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-01 3:44 #+call ? Thomas S. Dye
2010-11-01 5:40 ` Noorul Islam K M
2010-11-01 6:21 ` Thomas S. Dye
2010-11-01 6:24 ` Thomas S. Dye
2010-11-05 8:40 ` Sébastien Vauban
2010-11-05 10:43 ` Sébastien Vauban
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).