emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Insert calc vector directly into spreadsheet cells?


From: Steven Adrian
Subject: [O] Insert calc vector directly into spreadsheet cells?
Date: Sat, 17 May 2014 21:40:29 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I would like to insert a calc vector directly into a range of spreadsheet
cells from a function. As a specific example, consider the calc index
function, which returns a calc vector of integers from 1 to n. Once calc has
started within an emacs session, the index function can be accessed from
within the scratch buffer as:

(calcFunc-index 10)

If the above function is evaluated, the echo area will display the calc
vector returned by the function:

(vec 1 2 3 4 5 6 7 8 9 10)

I would like to put these values into a range of cells with a table formula
like:

#+TBLFM: @address@hidden(10)

But the formula above just puts the whole vector in each cell. Can anyone
tell me how to put the vector values in individual cells?





reply via email to

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