[ESS] executing Julia from org: error in ess-eval-region

Eric S Fraga e@|r@g@ @end|ng |rom uc|@@c@uk
Mon Aug 15 09:51:37 CEST 2022


On Sunday, 14 Aug 2022 at 21:34, Stephen Eglen via ESS-help wrote:
> hi Eric,
>
> can you send a minimal .org file that demonstrates the problem?

I notice that attachments are stripped in this group/list so here is the
code directly:

--8<---------------cut here---------------start------------->8---
#+title: Trying Julia session

Load and configure Julia mode and repl.  Both from MELPA up to date.
#+begin_src emacs-lisp
  (require 'julia-mode)
  ;; note that the first variable is also set in esf-org.org
  (setq inferior-julia-program "/home/ucecesf/pd/julia/bin/julia"
        julia-max-block-lookback 20000 ; suggested on julia usage list
        julia-program "/home/ucecesf/pd/julia/bin/julia"
        julia-repl-executable "/home/ucecesf/pd/julia/bin/julia")
  (require 'julia-repl)
#+end_src 

#+results:
: julia-repl

Try executing Julia code in a session:

#+begin_src julia :session
  x = [1, 2]
#+end_src
--8<---------------cut here---------------end--------------->8---

-- 
Eric S Fraga via gnus (Emacs 29.0.50 2022-08-08) on Debian 11.4



More information about the ESS-help mailing list