emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Feng Shu <tumashu@gmail.com>
To: orgmode <emacs-orgmode@gnu.org>
Subject: ob-R, about :results value verbatim drawer
Date: Wed, 24 Sep 2014 10:43:51 +0800	[thread overview]
Message-ID: <87a95pbuvs.fsf@news.tumashu-localhost.org> (raw)


When I run follow code, it just work:

       #+begin_comment
       
       #+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
       
       #+RESULTS:
       :RESULTS:
       [[./test1.org]]
       [[./test2.org]]
       [[./test3.org]]
       :END:
       


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]]
      "

             reply	other threads:[~2014-09-24  2:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24  2:43 Feng Shu [this message]
2014-09-24  3:55 ` ob-R, about :results value verbatim drawer Aaron Ecay
2014-09-24  7:52   ` Header Arguments of Code Blocks - problems and challenges Rainer M Krug
2014-09-24  7:52   ` ob-R, about :results value verbatim drawer Rainer M Krug
2014-09-26  0:13     ` Grant Rettke
2014-09-26  7:54       ` Rainer M Krug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a95pbuvs.fsf@news.tumashu-localhost.org \
    --to=tumashu@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).