On Thu, Jan 30, 2025, at 11:36 AM, Kevin Zembower via ESS-help wrote:
>
> My question is, what link or source would you suggest for me to study
> and work on to try to learn the current best-practices for using
> Emacs/ESS and R to do literate programming? 
>

Hi Kevin,

Orgmode has a lot more features than RMarkdown, but this comes at a price. It's 
*very* actively developed, and the documentation doesn't always reflect the 
latest developments. Additionally, while there are a *lot* of tutorials and 
walk-throughs online, they quickly get out of date.

RMarkdown is a little simpler, while providing all the most important features 
of orgmode for literate R programming, at least for me.

There is one thing from orgmode that I'd like to have in RMarkdown - there is 
no way, that I know of, to have the results of an RMarkdown code block inserted 
and updated in the source text of the document. You can get the results 
inserted as part of export to html, pdf, etc.

On the other hand, one thing I miss when working in orgmode is the seamless way 
that polymode allows you to edit R code directly in the RMarkdown buffer, 
without resorting to the indirect editing buffers used by orgmode.

Stephen has already pointed you to my tutorial. I was intending to follow it 
with several more posts, but life got in the way. It should still be accurate I 
hope! Let me know if you have trouble, or if there are additional topics you 
need help with.

https://plantarum.ca/2021/10/03/emacs-tutorial-rmarkdown/

- tyler

______________________________________________
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Reply via email to