Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:results value not working; :results output working #17

Open
rebcabin opened this issue Apr 27, 2020 · 4 comments
Open

:results value not working; :results output working #17

rebcabin opened this issue Apr 27, 2020 · 4 comments

Comments

@rebcabin
Copy link

I have julia installed by a symbolic link in /usr/local/bin/. I have many other languages working with :results value in org-babel (please see attached .spacemacs file, search for "julia" and for a bunch of other languages like Clojure and plantuml. In an org-babel block with "results value", I get something like the following

#+BEGIN_SRC julia :results value
rand(2,3)
#+END_SRC

#+RESULTS:

and Code block returned no value in the emacs minibuffer. With :results output, i get the following

#+BEGIN_SRC julia :results output
rand(2,3)
#+END_SRC

#+RESULTS:
: 2×3 Array{Float64,2}:
:  0.88332   0.805873     0.560745
:  0.571481  0.000716739  0.158407

so stuff is kinda working. I would dearly love to have :results value working, and I'm sure I've done something stupid in my configuration, but I can't see what. Would you be so kind as to help?

Here is my .spacemacs and configuration https://gist.github.com/rebcabin/d325740d2d68840cfdaac7710eebbbd5

@frederic-santos
Copy link

I think that ob-julia is not maintained anymore. A fork has been created here, you might want to post your issue on this repo.

@rebcabin
Copy link
Author

Oh, wow! I just checked the dates ... 6 and 7 years ago for the last commit! Ok, it's amazing that anything works at all. Thanks for the lead!

@frederic-santos
Copy link

Yes, but it seems that your problem also happens with more recent forks (I could reproduce it). You have yet other forks out there on GitHub (another example here), I do not know which one is the most advanced to date.

@rebcabin
Copy link
Author

rebcabin commented Apr 28, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants