Re: Starting intro to literate programming/ESS/Org mode?

Kevin Zembower via ESS-help <[email protected]> Fri, 31 Jan 2025 20:13:03 +0000
Newsgroups gmane.emacs.ess.general
Message-ID <01000194bdfedc77-6913351a-1a37-44a0-b44b-a9936da3a499-000000@email.amazonses.com>
Stephen, tyler and Naresh, thanks so much for your replies.

I was confused by quarto, because of all the different languages it
supports; I thought it was radically different than rmarkdown, and I
didn't go down that path.

I think that an initial big confusion for me was that I thought the
decision to use Org mode was completely independent of the decision to
use rmarkdown. I thought I was composing rmarkdown (the language
variant) with Org-mode (the Emacs tool). Now, I think I understand that
if I want to use org-mode, I start with a document ending in .org and
follow the directions in
https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html. Or,
if I want to use Rmarkdown, I start with a document ending in .Rmd and
follow the directions in =

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

Thank you all very much for helping me. I think I'll be okay from here,
until the next problem crops up.

-Kevin

On Fri, 2025-01-31 at 02:21 +0000, Naresh Gurbuxani wrote:
> 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=E2=80=AFPM, Tyler Smith via ESS-help
> <[email protected]> wrote:
> =

> =EF=BB=BFOn 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
> =

> ______________________________________________
> [email protected]=C2=A0mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
> =

> 	[[alternative HTML version deleted]]
> =




______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help