all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Help with babel and gnuplot
@ 2013-07-01 20:21 Paul Stansell
  2013-07-01 20:32 ` Achim Gratz
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Stansell @ 2013-07-01 20:21 UTC (permalink / raw)
  To: emacs-orgmode

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 through babel.

I'm using Emacs 24.2.1 and I have Org-mode release_8.0.3-331-gf7e6f1
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.  Also, other languages (eg. python) work okay
through babel.

Any advice would be greatly appreciated.

Kind regards,

Paul

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help with babel and gnuplot
  2013-07-01 20:21 Help with babel and gnuplot Paul Stansell
@ 2013-07-01 20:32 ` Achim Gratz
  0 siblings, 0 replies; 5+ messages in thread
From: Achim Gratz @ 2013-07-01 20:32 UTC (permalink / raw)
  To: emacs-orgmode

Paul Stansell writes:
>   Debugger entered--Lisp error: (file-error "Cannot open load file" "gnuplot")
>     require(gnuplot)

This tells you that gnuplot.el is nowhere to be found in your
load-path.  It usually comes with gnuplot, but either the install didn't
put it into the correct place on your system or you no longer have that
location in load-path.  You can get an up-to-date copy here:

https://github.com/bruceravel/gnuplot-mode


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Help with babel and gnuplot
@ 2013-07-12 19:02 Paul Stansell
  2013-07-12 19:05 ` Eric Schulte
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Stansell @ 2013-07-12 19:02 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help with babel and gnuplot
  2013-07-12 19:02 Paul Stansell
@ 2013-07-12 19:05 ` Eric Schulte
  2013-07-12 21:02   ` Paul Stansell
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Schulte @ 2013-07-12 19:05 UTC (permalink / raw)
  To: Paul Stansell; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help with babel and gnuplot
  2013-07-12 19:05 ` Eric Schulte
@ 2013-07-12 21:02   ` Paul Stansell
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Stansell @ 2013-07-12 21:02 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-12 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-01 20:21 Help with babel and gnuplot Paul Stansell
2013-07-01 20:32 ` Achim Gratz
  -- strict thread matches above, loose matches on Subject: below --
2013-07-12 19:02 Paul Stansell
2013-07-12 19:05 ` Eric Schulte
2013-07-12 21:02   ` Paul Stansell

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.