Re: [O] Path of file to save code block results

2014-03-26 Thread Sebastien Vauban
Yi Zhang wrote: > The evaluation of code block > > #+begin_src R :file img.pdf > hist(rnorm(100)) > #+END_SRC > > does not output "img.pdf" to the current folder. But if I use "~/img.pdf", > file will be saved to "~/". Am I missing something here? You miss ":results graphics", for example: #+b

[O] Path of file to save code block results

2014-03-26 Thread Yi Zhang
Hi All, The evaluation of code block #+begin_src R :file img.pdf hist(rnorm(100)) #+END_SRC does not output "img.pdf" to the current folder. But if I use "~/img.pdf", file will be saved to "~/". Am I missing something here? Thanks, YZ -- Yi Zhang