emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] return file from R
@ 2015-12-17 14:41 Andreas Leha
  2015-12-17 17:00 ` Charles C. Berry
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Leha @ 2015-12-17 14:41 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-20  6:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-17 14:41 [babel] return file from R Andreas Leha
2015-12-17 17:00 ` Charles C. Berry
2015-12-17 22:04   ` Andreas Leha
2016-01-19 15:20   ` Andreas Leha
2016-01-20  4:40     ` Charles C. Berry
2016-01-20  6:26       ` Andreas Leha

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