[Orgmode] Re: return link to :file when using #+call

2011-01-23 Thread Dan Davison
Myles English writes: > Thanks for your answer Eric. Recent changes as per > http://thread.gmane.org/gmane.emacs.orgmode/35396 > means that this no longer works. Thanks for bringing this up Myles. > To recap: what I would like to do is to #+call an R source > block, passing a filename, and hav

Re: [Orgmode] Re: return link to :file when using #+call

2011-01-22 Thread Myles English
Thanks for your answer Eric. Recent changes as per http://thread.gmane.org/gmane.emacs.orgmode/35396 means that this no longer works. To recap: what I would like to do is to #+call an R source block, passing a filename, and have it write a plot to that file and also insert a link to that file in

Re: [Orgmode] Re: return link to :file when using #+call

2011-01-05 Thread Eric Schulte
Hi Myles, Currently I believe the best option is the solution you posted below, the file name is repeated because both the code block and the call line need to know the file name to create the file and the link respectively. Cheers -- Eric Myles English writes: > Myles English gmail.com> writ

[Orgmode] Re: return link to :file when using #+call

2011-01-01 Thread Myles English
Myles English gmail.com> writes: > #+source: foo() > #+begin_src R :file bar.png > plot(1,1) > #+end_src This works but I have to repeat the filename: #+call: foo[:file baz.png]() :file baz.png #+results: foo[:file baz.png]() [[file:baz.png]] Myles