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 <mylesengl...@gmail.com> writes:

> Myles English <mylesenglish <at> 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
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to