emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] [babel] [R] :colnames yes conflicts with :results file
@ 2015-01-06 12:40 Andreas Leha
  2015-01-06 13:49 ` Rainer M Krug
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Leha @ 2015-01-06 12:40 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

There seems to be a bug in babel (at least for R) when it comes to
source blocks producing file links but taking tables with headers.  In
that case, ':colnames yes' disables the ':results file' directive.

Here is the Cm:
--8<---------------cut here---------------start------------->8---
* test

#+BEGIN_SRC R :results file replace
  "some_file.csv"
#+END_SRC

#+RESULTS:
[[file:some_file.csv]]

#+BEGIN_SRC R :colnames yes :results file replace
  "some_file.csv"
#+END_SRC

#+RESULTS:
| x             |
|---------------|
| some_file.csv |



* My Setup
#+begin_src emacs-lisp
  (concat
   (replace-regexp-in-string " on .*" "" (emacs-version))
   "\n"
   (replace-regexp-in-string " @.*" ")" (org-version nil t))
   "\n"
   (replace-regexp-in-string "].*" "]" (ess-version)))
#+end_src

#+RESULTS:
: GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.3.0, NS appkit-1265.21 Version 10.9.4 (Build 13E28))
:  of 2014-09-02
: Org-mode version 8.3beta (release_8.3beta-717-ga8096c)
: ess-version: 14.05 [git: 4283f1304a54502c42707b6a4ba347703f0992dd]
--8<---------------cut here---------------end--------------->8---

Regards,
Andreas

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

end of thread, other threads:[~2015-01-07 17:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-06 12:40 [BUG] [babel] [R] :colnames yes conflicts with :results file Andreas Leha
2015-01-06 13:49 ` Rainer M Krug
2015-01-06 15:39   ` Andreas Leha
2015-01-06 17:50     ` Aaron Ecay
2015-01-07  9:11     ` Rainer M Krug
2015-01-06 16:01   ` Thomas S. Dye
2015-01-07  9:19     ` Rainer M Krug
2015-01-07 17:14       ` Thomas S. Dye
2015-01-07  9:33     ` Sebastien Vauban
2015-01-07 13:45       ` Rainer M Krug

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