emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug] cannot extract just one column of table for use in gnuplot


From: Eric S Fraga
Subject: Re: [O] [bug] cannot extract just one column of table for use in gnuplot src block
Date: Mon, 24 Mar 2014 08:22:50 +0000
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux)

Achim Gratz <address@hidden> writes:

> Eric S Fraga writes:
>> The trace shows that the column has been extracted exactly as I
>> wish.
>
> No, the column has been extracted as a vector, not a table.

Yes, true; what I meant was that the data extracted were the data I
expected to be extracted.  The structure may be wrong.

>> However, it would appear that the function may expect a sequence
>> and not just a single element?
>
> A table line is a list or a symbol, at the point of the error only a
> list may be present.  However, due to "data" being a vector, you'll get
> a number.  That's easy enough to guard for in that function, but the bug
> is much further up the call chain, most likely in
> org-babel-gnuplot-process-vars.  Something along the line of the
> following patch might be in order:

This patch seems to work.  Thanks!
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org 
release_8.2.5h-831-gcb9172.dirty



reply via email to

[Prev in Thread] Current Thread [Next in Thread]