[ESS] Starting intro to literate programming/ESS/Org mode?
Naresh Gurbuxani
n@re@h_gurbux@n| @end|ng |rom hotm@||@com
Fri Jan 31 03:21:43 CET 2025
For org-mode with R, this tutorial is up to date. <https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html>
https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html
With this tutorial and org-mode guide included in emacs, I was able to start using org-mode with R.
from my iPhone
On Jan 30, 2025, at 5:02 PM, Tyler Smith via ESS-help <ess-help using r-project.org> wrote:
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 using r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
[[alternative HTML version deleted]]
More information about the ESS-help
mailing list