From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Stansell Subject: Re: Help with babel and gnuplot Date: Fri, 12 Jul 2013 22:02:23 +0100 Message-ID: References: <87bo67zjie.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxkU0-0006jO-06 for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 17:02:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxkTw-0001iW-LO for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 17:02:27 -0400 Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]:61355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxkTw-0001iI-FX for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 17:02:24 -0400 Received: by mail-ie0-f169.google.com with SMTP id 10so22209693ied.0 for ; Fri, 12 Jul 2013 14:02:23 -0700 (PDT) In-Reply-To: <87bo67zjie.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org Hi Eric, Thanks for your quick reply and helpful pointer! I got it to work. Paul On 12 July 2013 20:05, Eric Schulte wrote: > You need to install gnuplot.el, which looks like it can be installed > with ELPA. > > Cheers, > > Paul Stansell 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