Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-27 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks a lot, Rainer On 01/26/14, 19:07 , Eric Schulte wrote: I'll send you the patch then. Sounds great, thanks. OK - here it is attached (my first patch to org :-) ) - let me know if it is OK. Looks good to me, I've just applied

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-26 Thread Eric Schulte
I'll send you the patch then. Sounds great, thanks. OK - here it is attached (my first patch to org :-) ) - let me know if it is OK. Looks good to me, I've just applied it. Thanks! -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 19:38 , Eric Schulte wrote: I will check it a little bit longer and see that I can display the error message in the dummy graphic. Should have it by tomorrow. Sounds good. Alternately, maybe you could get the R process to

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-21 Thread Andreas Leha
Hi Rainer, really cool. I am very short on time right now, so I can't promise I'll get around to test it soon. Just one comment: Rainer M Krug rai...@krugs.de writes: On 01/20/14, 19:38 , Eric Schulte wrote: I will check it a little bit longer and see that I can display the error message

[O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I have two suggestions which are liked to each other. They are based on R code blocks, but the should be useful for other languages as well. I have a document in which I use :session for creating R graphs. These look like: #+begin_src R :file

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Andreas Leha
Rainer M Krug rai...@krugs.de writes: Hi I have two suggestions which are liked to each other. They are based on R code blocks, but the should be useful for other languages as well. I have a document in which I use :session for creating R graphs. These look like: #+begin_src R :file

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 15:00 , Andreas Leha wrote: Rainer M Krug rai...@krugs.de writes: Hi I have two suggestions which are liked to each other. They are based on R code blocks, but the should be useful for other languages as well. I have a

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Eric Schulte
Rainer M Krug rai...@krugs.de writes: On 01/20/14, 15:00 , Andreas Leha wrote: Rainer M Krug rai...@krugs.de writes: Hi I have two suggestions which are liked to each other. They are based on R code blocks, but the should be useful for other languages as well. I have a document in which

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 16:28 , Eric Schulte wrote: Rainer M Krug rai...@krugs.de writes: On 01/20/14, 15:00 , Andreas Leha wrote: Rainer M Krug rai...@krugs.de writes: Hi I have two suggestions which are liked to each other. They are based on R

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Eric Schulte
I will check it a little bit longer and see that I can display the error message in the dummy graphic. Should have it by tomorrow. Sounds good. Alternately, maybe you could get the R process to fail and print an error to STDERR so that the export will stop immediately and inform the user of