emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Babel/R issue: 'x' must be atomic
Date: Fri, 24 Aug 2012 01:23:15 +0200	[thread overview]
Message-ID: <2012-08-24T01-13-00@devnull.Karl-Voit.at> (raw)


Generating two separate boxplots for a given set of data is no problem. But
when I combine them into one single diagram (with two boxplots), I get:

Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) : 
  'x' must be atomic
Calls: <Anonymous> ... boxplot.stats -> <Anonymous> -> sort -> sort.default -> sort.int
Execution halted

You can get the minimal example Org-mode on http://paste.grml.org/1036/

When I replace the line 
            boxplot(list(folders, tags),
            boxplot(list(mfolders, mtags),
it works, though :-O

mfolders and mtags are lists in R and not imported via »:var«. Therefore I
guess this is an Org-mode/babel issue and not an R issue. What is my error?

Any help would be very cool!

PS: Org-mode version from git from yesterday

Karl Voit

             reply	other threads:[~2012-08-23 23:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-23 23:23 Karl Voit [this message]
2012-08-23 23:59 ` Babel/R issue: 'x' must be atomic John Hendy
2012-08-24  9:33   ` Karl Voit

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:

  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=2012-08-24T01-13-00@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \


* 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


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