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
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
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
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