Re: org babel output

2023-07-03 Thread Matt
On Sat, 01 Jul 2023 05:52:42 +0200 Robert Synofzik wrote --- > Hello, > the exact same error occurs for me: > https://emacs.stackexchange.com/questions/72243/macos-org-babel-python-with-session-output-give-python-el-eval > > do you possibly have any idea on how to fix this? Just

Re: org babel output

2023-07-03 Thread Ihor Radchenko
Robert Synofzik writes: > the exact same error occurs for me: > https://emacs.stackexchange.com/questions/72243/macos-org-babel-python-with-session-output-give-python-el-eval > > I use python 3.9 so guessing switching the version won't help. May you share your Org version as well? If it is not t

org babel output

2023-07-03 Thread Robert Synofzik
Hello, the exact same error occurs for me: https://emacs.stackexchange.com/questions/72243/macos-org-babel-python-with-session-output-give-python-el-eval I use python 3.9 so guessing switching the version won't help. #+begin_src python :session :results output print("yes") #+End_src #+Results

Re: How to convert an HTML export bloc to a normal Org Babel output ?

2023-05-25 Thread Ihor Radchenko
copropriete27ruemo...@gmail.com writes: > [ For some reason, an answer posted yesterday seems to have been lost. > Rewriting/reposting... ] You did not CC Org mailing list. > Nice answer ! I suppose that this is more a misdesign than a bug (limited > goals of Dyalog,that emacs-jupyter cannot a

Re: How to convert an HTML export bloc to a normal Org Babel output ?

2023-05-25 Thread copropriete27ruemoret
[ For some reason, an answer posted yesterday seems to have been lost. Rewriting/reposting... ] Nice answer ! I suppose that this is more a misdesign than a bug (limited goals of Dyalog,that emacs-jupyter cannot alleviate). Your suggestion worked. But now, I have to pass to my `:post` function

Re: How to convert an HTML export bloc to a normal Org Babel output ?

2023-05-24 Thread Ihor Radchenko
Emmanuel Charpentier writes: > #+begin_src jupyter-apl :exports both :results raw :post > html2text(data=*this*) > ⍳7 > #+end_src > > #+RESULTS: > #+begin_export html > > 1 2 3 4 5 6 7 > #+end_export > > but what /enrages/ me is that the (correct) result is still wrapped in an > HTML block

How to convert an HTML export bloc to a normal Org Babel output ?

2023-05-24 Thread Emmanuel Charpentier
Dear list, I stumbled on the conversion of an HTML Babel export block to a "normal" Babel output. What follows is the *verbatim* transcript of an org file explaining and demonstrating the problem : ``` # Attempt to use emacs-jupyter to insert Dyalog APL org-src blocks. #+options: author:nil to

Bug: Org-babel output malformed for MATLAB source blocks running in a session [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]

2020-11-23 Thread Karthik Chikmagalur
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. -

Re: [O] suppress leading ":" in org-babel output

2019-05-31 Thread Jeremie Juste
Hello, Many thanks updating org-mode resolved the issue Best regards, Jeremie > FWIW, I just get the last line: > > #+NAME:mean_purchase_per_shopping_trip > > #+BEGIN_SRC R :var x=6 :results output :session *R* > a <-sprintf("%.2f",12.234324) > cat(a,sep="\n") > #+END_SRC > > #+RESULTS: > : 12.23

Re: [O] suppress leading ":" in org-babel output

2019-05-29 Thread Nick Dokos
"Berry, Charles" writes: >> On May 27, 2019, at 7:17 PM, Nick Dokos wrote: >> >> Jeremie Juste writes: >> >>> Hello, >>> >>> I recall seeing this thread on the mailing list but I cannot find it >>> back. >>> >>> I would like to suppress the first line leading ":" in the following output >>>

Re: [O] suppress leading ":" in org-babel output

2019-05-28 Thread Berry, Charles
> On May 27, 2019, at 7:17 PM, Nick Dokos wrote: > > Jeremie Juste writes: > >> Hello, >> >> I recall seeing this thread on the mailing list but I cannot find it >> back. >> >> I would like to suppress the first line leading ":" in the following output >> >> >> #+NAME:mean_purchase_per_s

Re: [O] suppress leading ":" in org-babel output

2019-05-27 Thread Nick Dokos
Jeremie Juste writes: > Hello, > > I recall seeing this thread on the mailing list but I cannot find it > back. > > I would like to suppress the first line leading ":" in the following output > > > #+NAME:mean_purchase_per_shopping_trip > > #+BEGIN_SRC R :var x=6 :results output :session *R* > a

[O] suppress leading ":" in org-babel output

2019-05-27 Thread Jeremie Juste
Hello, I recall seeing this thread on the mailing list but I cannot find it back. I would like to suppress the first line leading ":" in the following output #+NAME:mean_purchase_per_shopping_trip #+BEGIN_SRC R :var x=6 :results output :session *R* a <-sprintf("%.2f",12.234324) cat(a,sep="\n")

Re: [O] formatting org-babel output

2013-05-22 Thread Joe Bogner
Eric - That is perfect. It's exactly what I was looking for. Thank you for very much! Jay - format is a good option too.I also found the scales packages > scales::comma(scales::dollar(5)) [1] "$55,555" In the end, the org-mode post solution feels more automatic and in the right layer - since

Re: [O] formatting org-babel output

2013-05-22 Thread Eric Schulte
Joe Bogner writes: > I am using org-mode and babel with R for reproducible research. I > would like certain numbers in the output tables to be formatted for > easier reading - such as eliminating decimals and adding commas for > readability. > > The best I came up with is to use a TBLFM line at t

Re: [O] formatting org-babel output

2013-05-22 Thread Jay Kerns
Hi Joe, On Wed, May 22, 2013 at 7:18 AM, Joe Bogner wrote: > I am using org-mode and babel with R for reproducible research. I > would like certain numbers in the output tables to be formatted for > easier reading - such as eliminating decimals and adding commas for > readability. > [snip] Have

[O] formatting org-babel output

2013-05-22 Thread Joe Bogner
I am using org-mode and babel with R for reproducible research. I would like certain numbers in the output tables to be formatted for easier reading - such as eliminating decimals and adding commas for readability. The best I came up with is to use a TBLFM line at the bottom of my results table us