emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Org-babel and octave/Matlab?
Date: Tue, 4 Sep 2012 21:05:55 -0500	[thread overview]
Message-ID: <CA+M2ft_m6PeTjcrh3WepU3HgD0nTyEso-wyHHRZEwCU+RBft_w@mail.gmail.com> (raw)

Just getting into Octave and wanted to give Orgmode a whirl. The Worg
page is a bit sparse and I'm having a tough time getting things to

- Originally, it wasn't finding octave at all. Per a previous long and
arduous discussion with the list about setting up R on Win 7, I was
able to take a hint and set =org-babel-octave-shell-command=.
- If I then tried setting =:session=, I got this error:
'octave' is not recognized as an internal or external command,
operable program or batch file.

This would leave an =inferior-octave= buffer open, so I checked around
and there was an =inferior-octave-command= variable which I set to the
octave bin directory.

Now, executing a block opens a background octave buffer, but the
results don't seem to behave with babel. Is this the "right" way to be
doing this, or is inferior-octave something totally different. Is
there a way to use babel, :session, and Org-mode "as usual" with


                 reply	other threads:[~2012-09-05  2:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

  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=CA+M2ft_m6PeTjcrh3WepU3HgD0nTyEso-wyHHRZEwCU+RBft_w@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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