From: Paul Stansell <paulstansell@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Help with babel and gnuplot
Date: Fri, 12 Jul 2013 20:02:04 +0100 [thread overview]
Message-ID: <CAMJKaZwY0o1VCBKNgVX3k1nX-9sBBEn1-FNU8pNiUokGqLsQ=Q@mail.gmail.com> (raw)
Hello,
I hesitate to ask this question as I feel I should be able to work it
out myself, but I don't seem to be able to.
I'm trying to get gnuplot working via babel.
I'm using Emacs 24.2.1 and I have Org-mode release_8.0.6-329-g0c233a
installed in ~/org-mode.
I'm running
/usr/bin/emacs -Q -l minimal-org.el test.org
where minimal-org.el contains just
(setq debug-on-error t
debug-on-signal nil
debug-on-quit nil)
(add-to-list 'load-path (expand-file-name "~/org-mode/lisp"))
(org-babel-do-load-languages
'org-babel-load-languages
'((gnuplot . t)))
and test.org contains just
#+begin_src gnuplot :results silent
plot x
#+end_src
When I press C-c C-c inside the source block I get
Debugger entered--Lisp error: (file-error "Cannot open load file" "gnuplot")
require(gnuplot)
org-babel-execute:gnuplot("plot x" ...
org-babel-execute-src-block(nil)
org-babel-execute-src-block-maybe()
org-babel-execute-maybe()
org-babel-execute-safely-maybe()
run-hook-with-args-until-success(org-babel-execute-safely-maybe)
org-ctrl-c-ctrl-c(nil)
call-interactively(org-ctrl-c-ctrl-c nil nil)
I've been assuming it's a path issue, but
~/org-mode/lisp/ob-gnuplot.elc is present and I have gnuplot installed
in /usr/bin/gnuplot.
Any advice would be greatly appreciated.
Kind regards,
Paul
next reply other threads:[~2013-07-12 19:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-12 19:02 Paul Stansell [this message]
2013-07-12 19:05 ` Help with babel and gnuplot Eric Schulte
2013-07-12 21:02 ` Paul Stansell
-- strict thread matches above, loose matches on Subject: below --
2013-07-01 20:21 Paul Stansell
2013-07-01 20:32 ` Achim Gratz
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='CAMJKaZwY0o1VCBKNgVX3k1nX-9sBBEn1-FNU8pNiUokGqLsQ=Q@mail.gmail.com' \
--to=paulstansell@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).