1

Recently tried to start using (Doom) Emacs for writing R code via ESS mode. I was wondering if it's possible to embed the outputs of evaluated code chunks of R Markdown files like in R Studio

Example: enter image description here

I'm aware I can kinda use Org mode as a "drop-in" replacement for Rmarkdown, but I'm currently required to use the latter file type.

1
  • I'm late to this, but the functionality you describe is provided by ox-ravel: github.com/chasberry/orgmode-accessories With ox-ravel, you can write your org document with R source code blocks as usual, and export it to Rmarkdown. I haven't been able to make some things work yet, most notably figure numbering.
    – Stefano
    Commented May 18 at 21:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.