Re: [O] babel: textual output and graphic results

2011-06-26 Thread Eythan Weg
True again. It solves the problem by bypassing a babel's weakness, I think. Eythan Rainer M Krug Fri, 24 Jun 2011 14:28:41 +0200 On Fri, Jun 24, 2011 at 2:05 PM, Eythan Weg wrote: Thank you. True. But, I would like, if possible, to have the link

Re: [O] babel: textual output and graphic results

2011-06-26 Thread Eythan Weg
Eric Schulte Fri, 24 Jun 2011 11:11:52 -0700 eythan...@gmail.com (Eythan Weg) writes: > Hi, > > How could I effect the plot saved in a file and the output produced > shown in the buffer by using a single execution of R in the following > snippet? > Each code block

Re: [O] babel: textual output and graphic results

2011-06-25 Thread Eric Schulte
> >Each code block can only return a single output type, so you will have > > Is this property fundamental, or temporary? > This is intentional and will not be changed. The alternative would introduce many complications without adding any real new expressive power to code blocks. Best --

Re: [O] babel: textual output and graphic results

2011-06-25 Thread Rainer M Krug
On Sat, Jun 25, 2011 at 2:00 PM, Eythan Weg wrote: > > > True again. It solves the problem by bypassing a babel's weakness, I > think. > I would not say babel's weakness - rether a strength which result's in it's simplicity and power. Rainer > Eythan > > Rainer M Krug > Fri, 24 Jun 2011 14:

Re: [O] babel: textual output and graphic results

2011-06-24 Thread Russell Adams
Eythan, This sounds similar to something I'd already done on Worg, ie: dual format returns in R. The first example (RBabelExample) is really R outputting to PNG for viewing inline in emacs with inline-images, and PDF for inclusion into Latex. Maybe you can adapt it to return your text, and graph

Re: [O] babel: textual output and graphic results

2011-06-24 Thread Eric Schulte
eythan...@gmail.com (Eythan Weg) writes: > Hi, > > How could I effect the plot saved in a file and the output produced > shown in the buffer by using a single execution of R in the following > snippet? > Each code block can only return a single output type, so you will have to split your code blo

Re: [O] babel: textual output and graphic results

2011-06-24 Thread Rainer M Krug
On Fri, Jun 24, 2011 at 2:05 PM, Eythan Weg wrote: > > > > Thank you. True. But, I would like, if possible, to have the link to > the saved plot as a link in the output, for free. > Just add it as a cat() statement: #+begin_src R :results output :session print(seq(1,10)) pdf("ThePlot.pdf") p

[O] babel: textual output and graphic results

2011-06-24 Thread Eythan Weg
Hi, How could I effect the plot saved in a file and the output produced shown in the buffer by using a single execution of R in the following snippet? #+begin_src R :results output :session print(seq(1,10)) plot(seq(1,10)) #+end_src Thank you. Eythan