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
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