[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [babel] return file from R
From: |
Andreas Leha |
Subject: |
[O] [babel] return file from R |
Date: |
Thu, 17 Dec 2015 14:41:26 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) |
Hi all,
I think there is a bug in the handling of results of R src blocks. What
is the suggested way to make an R block return a link to a file? The
obvious way appends a newline character to the file link (which is
broken because of that).
Here is an example:
--8<---------------cut here---------------start------------->8---
#+NAME: TESTSRC
#+BEGIN_SRC R :results file
a <- file.path("junk", "test.org")
a
#+END_SRC
#+RESULTS: TESTSRC
[[file:junk/test.org
]]
--8<---------------cut here---------------end--------------->8---
Regards,
Andreas
- [O] [babel] return file from R,
Andreas Leha <=