ob-julia icon indicating copy to clipboard operation
ob-julia copied to clipboard

ob-julia with Julia v1.0 does not work anymore

Open vincent-picaud opened this issue 6 years ago • 2 comments

In Julia V1.0 the readcsv, writecsv functions do not exist anymore. By consequence, as explained here, ob-julia.el does not work anymore with Julia v1.0

I guess that you will have to modify:

(defvar org-babel-julia-write-object-command "writecsv(\"%s\",%s)")

and

 (format "%s = readcsv(\"%s\")" name file)
    (format "%s = readcsv(\"%s\")"
        name file))))

I take the opportunity to thank you for your ob-julia.el package I use everyday. Best, Vincent Picaud

vincent-picaud avatar Aug 27 '18 17:08 vincent-picaud

Tried it and it worked, thanks!

zot avatar Aug 29 '18 08:08 zot

This breaks building several Julia packages for me. As a workaround-workaround, I moved it to ~/.julia/config/startup-babel.jl. Then I customized Ess Julia's Inferior Julia Args variable to

-e include("$(ENV["HOME"])/.julia/config/startup-babel.jl") -i

zot avatar Sep 27 '18 06:09 zot