[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ob-R, about :results value verbatim drawer
From: |
Aaron Ecay |
Subject: |
Re: [O] ob-R, about :results value verbatim drawer |
Date: |
Tue, 23 Sep 2014 23:55:03 -0400 |
User-agent: |
Notmuch/0.18.1+51~gbbbdf04 (http://notmuchmail.org) Emacs/24.4.50.2 (x86_64-unknown-linux-gnu) |
Hi Feng,
2014ko irailak 23an, Feng Shu-ek idatzi zuen:
> but when I add a #+PROPERTY, it show error like below, how to deal with
> it ? thanks ...
>
> #+PROPERTY: header-args:R :colnames yes :rownames no :exports both
> #+BEGIN_SRC R :results value verbatim drawer
> data <-
> list(a="[[./test1.org]]",b="[[./test2.org]]",c="[[./test3.org]]")
> c(data$a,data$b,data$c)
> #+END_SRC
>
>
> executing R code block...
> Wrote /tmp/babel-1984743i/ob-input-198472lB
> org-babel-R-evaluate-external-process: Wrong type argument: listp, "x
> [[./test1.org]]
> [[./test2.org]]
> [[./test3.org]]
> "
The simple answer is don’t add the #+property line. In particular, the
:colnames yes setting doesn’t play well with your code block. If you
must have the #+property line for other reasons, override the global
setting of :colnames yes with :colnames no on the source block.
--
Aaron Ecay