emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel/R issue: 'x' must be atomic
@ 2012-08-23 23:23 Karl Voit
  2012-08-23 23:59 ` John Hendy
  0 siblings, 1 reply; 3+ messages in thread
From: Karl Voit @ 2012-08-23 23:23 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

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),
with 
            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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-24  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-23 23:23 Babel/R issue: 'x' must be atomic Karl Voit
2012-08-23 23:59 ` John Hendy
2012-08-24  9:33   ` Karl Voit

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