emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Stansell <paulstansell@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Help with babel and gnuplot
Date: Fri, 12 Jul 2013 22:02:23 +0100	[thread overview]
Message-ID: <CAMJKaZwh5ZpqtZow40EacZ=ysX6DuYBE6nGVmWmp8n-DmZQHnA@mail.gmail.com> (raw)
In-Reply-To: <87bo67zjie.fsf@gmail.com>

Hi Eric,

Thanks for your quick reply and helpful pointer!  I got it to work.

Paul


On 12 July 2013 20:05, Eric Schulte <schulte.eric@gmail.com> wrote:
> You need to install gnuplot.el, which looks like it can be installed
> with ELPA.
>
> Cheers,
>
> Paul Stansell <paulstansell@gmail.com> writes:
>
>> 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
>>
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte

  reply	other threads:[~2013-07-12 21:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12 19:02 Help with babel and gnuplot Paul Stansell
2013-07-12 19:05 ` Eric Schulte
2013-07-12 21:02   ` Paul Stansell [this message]
  -- 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='CAMJKaZwh5ZpqtZow40EacZ=ysX6DuYBE6nGVmWmp8n-DmZQHnA@mail.gmail.com' \
    --to=paulstansell@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /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).