Re: [O] Exporting output and graphics from R

2013-05-31 Thread Sebastien Vauban
SabreWolfy, SabreWolfy wrote: > Sebastien Vauban writes: >> AFAICT, you can't have both at the same time. Do you have a real >> use case for this? > > Maybe I'm not using the right tool for the job. I thought it would be useful > to be able to intersperse explanatory text with output: > > All cro

Re: [O] Exporting output and graphics from R

2013-05-31 Thread SabreWolfy
Feng Shu gmail.com> writes: > #+BEGIN_SRC R :results output :exports both > pngname <- "testout.png" > png(pngname) > plot(1:10, 1:10) > dev.off() > x <- 1:10 > paste("[[./", pngname, "]]",sep="") > #+END_SRC Thanks. This is a great suggestion.

Re: [O] Exporting output and graphics from R

2013-05-31 Thread SabreWolfy
Sebastien Vauban writes: > AFAICT, you can't have both at the same time. Do you have a real > use case for this? Maybe I'm not using the right tool for the job. I thought it would be useful to be able to intersperse explanatory text with output: --8<---cut here---start--

Re: [O] Exporting output and graphics from R

2013-05-30 Thread Rainer M. Krug
Feng Shu writes: > rai...@krugs.de (Rainer M. Krug) writes: > >> "Sebastien Vauban" >> writes: >> >>> Hi SabreWolfy, >>> >>> SabreWolfy wrote: When the following code is evaluated or exported, only the link to "testout.png" appears in the RESULTS section. #+BEGIN_SRC R :resul

Re: [O] Exporting output and graphics from R

2013-05-30 Thread Feng Shu
rai...@krugs.de (Rainer M. Krug) writes: > "Sebastien Vauban" > writes: > >> Hi SabreWolfy, >> >> SabreWolfy wrote: >>> When the following code is evaluated or exported, only the link to >>> "testout.png" appears in the RESULTS section. >>> >>> #+BEGIN_SRC R :results output graphics :file testout

Re: [O] Exporting output and graphics from R

2013-05-30 Thread Rainer M. Krug
"Sebastien Vauban" writes: > Hi SabreWolfy, > > SabreWolfy wrote: >> When the following code is evaluated or exported, only the link to >> "testout.png" appears in the RESULTS section. >> >> #+BEGIN_SRC R :results output graphics :file testout.png :exports both >> plot(1:10, 1:10) >> x <- 1:10 >>

Re: [O] Exporting output and graphics from R

2013-05-30 Thread Sebastien Vauban
Hi SabreWolfy, SabreWolfy wrote: > When the following code is evaluated or exported, only the link to > "testout.png" appears in the RESULTS section. > > #+BEGIN_SRC R :results output graphics :file testout.png :exports both > plot(1:10, 1:10) > x <- 1:10 > library(ascii) > options(asciiType = "or

[O] Exporting output and graphics from R

2013-05-30 Thread SabreWolfy
When the following code is evaluated or exported, only the link to "testout.png" appears in the RESULTS section. --8<---cut here---start->8--- #+BEGIN_SRC R :results output graphics :file testout.png :exports both plot(1:10, 1:10) x <- 1:10 library(ascii) option