From: jenia.ivlev@gmail.com (jenia.ivlev)
To: emacs-orgmode@gnu.org
Subject: How to execute calc commands in src blocks?
Date: Sun, 09 Aug 2015 21:22:27 -0400 [thread overview]
Message-ID: <87vbcoszsc.fsf@gmail.com> (raw)
Hello.
I want to use calc in org src-blocks. But it doesnt always work.
Here is an example that does work:
#+BEGIN_SRC calc
3
2
'+
#+END_SRC
#+RESULTS:
6
Here is another example where it doesn't work:
#+BEGIN_SRC calc
[3 2]
[2 10]
'+
#+END_SRC
This doesn't work at all. It tells me "Invalid data object encoutered".
Can someone please tell me how to make the second exaple work?
And also, how do I assign a value to a variable maybe someone knows?
Thanks
Jenia
next reply other threads:[~2015-08-10 1:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 1:22 jenia.ivlev [this message]
2015-08-11 9:18 ` How to execute calc commands in src blocks? Eric S Fraga
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=87vbcoszsc.fsf@gmail.com \
--to=jenia.ivlev@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
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).