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: @1$1..@1$10=index(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