[ESS] emacs and ess with quarto and knitr and friends

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Wed Aug 7 05:34:06 CEST 2024


On 6 August 2024 at 21:56, Christopher W. Ryan via ESS-help wrote:
| I always meant to learn Rmarkdown and knitr,

I wholeheartedly recommend markdown. I have been using it for years to create
both html (my website, blog, course website stat447.com, ...) and pdf (slides
for talks and lecture, papers, memos, ...)

Mostly I run it in a fairly pedestrian way via a script render.r (which is at
https://github.com/eddelbuettel/littler/blob/master/inst/examples/render.r
but you also get by with a single Rscript invocation). (For some ad-hoc
things I do bring up an editor that can render "live": atom did that, code
does too, I presume positron (as a code derivative) can do too.)

Quarto is no different: you just invoke a different (more powerful but
slower) engine to 'render'. While I have had quarto installed for years, I
have had no reason yet to switch. I may one day. Or maybe I won't.

The key is -- very much as some ESS document that *really* influenced me said
decades ago -- that "the source is key". Write down you markdown (or
Rmarkdown or qmd) and use whatever engine you find suitable to render it.

Hope this helps, Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the ESS-help mailing list