This seems not working, I have following example:
In Org mode file "~/Org/Programming/R/
test.org"
#+begin_src R :results graphics file :dir "images" :file "hist_rnorm.png"
x <- rnorm(100)
print(mean(x))
hist(x)
#+end_src
#+RESULTS[(2025-01-14 11:19:59) 2387108d2b01bf63b1eac4044a7430ea7ba87466]:
[[file:images/hist_rnorm.png]]
The generated plot image "images/hist_rnorm.png" is NOT in
"~/Org/Programming/R/images/hist_rnorm.png". It's in "~/Org/hist_rnorm.png".
My environment:
- Emacs version: GNU Emacs 31.0.50 (commit nil)
- Org mode version: 9.8-pre (using branch "main" latest commit "c2d57df0e")