From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Org-babel and octave/Matlab? Date: Tue, 4 Sep 2012 21:05:55 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9508-0001b3-OO for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 22:05:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9507-0006AJ-Ty for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 22:05:56 -0400 Received: from mail-qa0-f41.google.com ([209.85.216.41]:52935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9507-0006AC-QA for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 22:05:55 -0400 Received: by qafk30 with SMTP id k30so4763860qaf.0 for ; Tue, 04 Sep 2012 19:05:55 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode 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 work. - 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 octave? Thanks, John