Re: [O] ob-R, problem with try/catch

2015-05-04 Thread Nicolas Goaziou
Hello, Rainer M Krug writes: > Thinking about it, I don't think that the combinations should be defined > in the linting library, but in the language definition (ob-XXX.el), by a > function which returns all tested combinations, i.e. all combinations > which have been tested, including if they w

Re: [O] ob-R, problem with try/catch

2015-05-04 Thread Rainer M Krug
"Charles C. Berry" writes: > On Sun, 26 Apr 2015, Nicolas Goaziou wrote: > >> Hello, >> >> Rainer M Krug writes: >> >>> Possible a candidate for the new linting library for org, to mark it >>> as an invalid argument combination >> >> Done. Do you know any other such combinations? > > Except for

Re: [O] ob-R, problem with try/catch

2015-04-26 Thread Nicolas Goaziou
"Charles C. Berry" writes: > Except for langs emacs-lisp, clojure, ruby, picolisp, and python > `:results pp' does nothing. > > mathematica refers to "pp" but I don't get what it does - it looks > like "raw" would be a more suitable :results format. > > Of course, somebody could add a pretty prin

Re: [O] ob-R, problem with try/catch

2015-04-26 Thread Charles C. Berry
On Sun, 26 Apr 2015, Nicolas Goaziou wrote: Hello, Rainer M Krug writes: Possible a candidate for the new linting library for org, to mark it as an invalid argument combination Done. Do you know any other such combinations? Except for langs emacs-lisp, clojure, ruby, picolisp, and pytho

Re: [O] ob-R, problem with try/catch

2015-04-26 Thread Nicolas Goaziou
Hello, Rainer M Krug writes: > Possible a candidate for the new linting library for org, to mark it > as an invalid argument combination Done. Do you know any other such combinations? Regards, -- Nicolas Goaziou

Re: [O] ob-R, problem with try/catch

2015-04-23 Thread Thomas S. Dye
Hi Aaron, Aaron Ecay writes: > Hi Tom, > > 2015ko apirilak 23an, "Thomas S. Dye"-ek idatzi zuen: >> >> IIRC :results output graphics is needed for the ggplot package. > > Hmm. This is the case if the code is *not* evaluated in a session. In > a session, either value or output result types wor

Re: [O] ob-R, problem with try/catch

2015-04-23 Thread Aaron Ecay
Hi Tom, 2015ko apirilak 23an, "Thomas S. Dye"-ek idatzi zuen: > > IIRC :results output graphics is needed for the ggplot package. Hmm. This is the case if the code is *not* evaluated in a session. In a session, either value or output result types work. (All this has been tested with a recent

Re: [O] ob-R, problem with try/catch

2015-04-23 Thread Thomas S. Dye
Aloha Rainer, Rainer M Krug writes: > Sorry I overlooked the :results output graphic header. > > This combination is, as far as I can see (holiday, sun, no notebook, > org or R) not recommended as it will lead to invalid files. > Should it actually be valid? I would say these two options contra

Re: [O] ob-R, problem with try/catch

2015-04-23 Thread Aaron Ecay
Hello all, 2015ko apirilak 23an, Rainer M Krug-ek idatzi zuen: >> I'm picking up a project that I last worked on in 2013. I was under the >> impression that the source code blocks were working at that time, but I >> guess it is possible that I added the rm() statements after the code >> blocks we

Re: [O] ob-R, problem with try/catch

2015-04-23 Thread Rainer M Krug
Envoyé de mon iPhone > Le 23 avr. 2015 à 18:13, Charles C. Berry a écrit : > >> On Wed, 22 Apr 2015, Rainer M Krug wrote: >> >> >> >> Envoyé de mon iPhone >> Le 23 avr. 2015 à 04:23, Charles C. Berry a écrit : On Wed, 22 Apr 2015, Thomas S. Dye wrote: Aloha all,

Re: [O] ob-R, problem with try/catch

2015-04-23 Thread Rainer M Krug
Envoyé de mon iPhone > Le 23 avr. 2015 à 17:53, Thomas S. Dye a écrit : > > Aloha Rainer, > Hi Thomas, > Rainer M Krug writes: > After eaa3a761dae, I get an error and an empty output file. >>> >>> That commit introduced a tryCatch() wrapper for graphics results. >>> >>> You probabl

Re: [O] ob-R, problem with try/catch

2015-04-23 Thread Charles C. Berry
On Wed, 22 Apr 2015, Rainer M Krug wrote: Envoyé de mon iPhone Le 23 avr. 2015 à 04:23, Charles C. Berry a écrit : On Wed, 22 Apr 2015, Thomas S. Dye wrote: Aloha all, Prior to eaa3a761dae, when working in a session, I was able to run this R source code block without problems: ,---

Re: [O] ob-R, problem with try/catch

2015-04-23 Thread Thomas S. Dye
Aloha Rainer, Rainer M Krug writes: >>> After eaa3a761dae, I get an error and an empty output file. >> >> That commit introduced a tryCatch() wrapper for graphics results. >> >> You probably know that ggplot (or ggplot2) relies on printing of >> objects to produce graphics (see R-FAQ 7.22). >>

Re: [O] ob-R, problem with try/catch

2015-04-22 Thread Thomas S. Dye
Aloha Chuck, "Charles C. Berry" writes: > On Wed, 22 Apr 2015, Thomas S. Dye wrote: > >> Aloha all, >> >> Prior to eaa3a761dae, when working in a session, I was able to run this >> R source code block without problems: >> >> ,- >> | #+header: :file r/adze_

Re: [O] ob-R, problem with try/catch

2015-04-22 Thread Rainer M Krug
Envoyé de mon iPhone > Le 23 avr. 2015 à 04:23, Charles C. Berry a écrit : > >> On Wed, 22 Apr 2015, Thomas S. Dye wrote: >> >> Aloha all, >> >> Prior to eaa3a761dae, when working in a session, I was able to run this >> R source code block without problems: >> >> ,--

Re: [O] ob-R, problem with try/catch

2015-04-22 Thread Charles C. Berry
On Wed, 22 Apr 2015, Thomas S. Dye wrote: Aloha all, Prior to eaa3a761dae, when working in a session, I was able to run this R source code block without problems: ,- | #+header: :file r/adze_wt_log.pdf | #+header: :results output graphics | #+header: :wi