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