From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: ob-R, about :results value verbatim drawer Date: Tue, 23 Sep 2014 23:55:03 -0400 Message-ID: <87zjdpn04o.fsf@gmail.com> References: <87a95pbuvs.fsf@news.tumashu-localhost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWdlx-00028y-Ur for emacs-orgmode@gnu.org; Wed, 24 Sep 2014 00:01:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWdlt-0002sg-4J for emacs-orgmode@gnu.org; Wed, 24 Sep 2014 00:01:45 -0400 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:53258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWdls-0002s5-WE for emacs-orgmode@gnu.org; Wed, 24 Sep 2014 00:01:41 -0400 Received: by mail-qg0-f47.google.com with SMTP id z107so5438629qgd.34 for ; Tue, 23 Sep 2014 21:01:35 -0700 (PDT) In-Reply-To: <87a95pbuvs.fsf@news.tumashu-localhost.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Feng Shu , orgmode 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 ... >=20 > #+PROPERTY: header-args:R :colnames yes :rownames no :exports both > #+BEGIN_SRC R :results value verbatim drawer > data <- list(a=3D"[[./test1.org]]",b=3D"[[./test2.org]]",c=3D"[[./t= est3.org]]") > c(data$a,data$b,data$c) > #+END_SRC >=20 >=20 > 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=E2=80=99t add the #+property line. In particular,= the :colnames yes setting doesn=E2=80=99t play well with your code block. If y= ou must have the #+property line for other reasons, override the global setting of :colnames yes with :colnames no on the source block. --=20 Aaron Ecay