As a new Emacs user, I've recently learned how to use
polymode to handle R code in org-mode. I'm happy with it, since I get the same features than those implemented for example in Rstudio for Rmd files (e.g., facilities to execute code chunks and visualize the results directly in the org file, display inline images, code completion in code chunks, etc.).
Even if I prefer now working with org-babel than rmarkdown, I wonder if it is possible to get the same features for Rmd files with
With my current settings, when working on an Rmd file, code completion works properly inside R chunks, and R chunks can be executed (i.e., sent to an inferior R process) by
C-c C-c. Everything is okay for that. But I don't understand how to display/preview/visualize the results and plots produced by R chunks directly within the Rmd file, and I don't even know if it is possible. All the chunks are sent and executed in a separate R buffer, but it would be more convenient to have the results displayed just below the chunks, as with org-babel.
All information is welcome :)