R Markdown Lesser-Known Tips & Tricks #4: Looks Better, Works Better

This is a companion discussion topic for the original entry at https://www.rstudio.com/blog/r-markdown-tips-tricks-4-looks-better-works-better

1 Like

One idea for a future post could how to incorporate executive summaries into an R Markdown document. I've found only a few posts online for pulling variables up to the top of a document. And personally, I've had limited success with those (but still working through it!). The examples you've shown in these posts have been pretty detailed and helpful, and that could be helpful for the community.

Thanks for this post as well!

1 Like

You might have mentioned these examples were for Quarto. The markdown chunk options were confusing until Google told me these were Quarto chunk options for the lines starting with "#|".

Thanks for reading the post! The hashpipe #| works in R Markdown as well. It was added in knitr 1.35. We mention it in the second post of the R Markdown Tips & Tricks series (#6): R Markdown Lesser-Known Tips & Tricks #2: Cleaning Up Your Code - RStudio and you can find out more in Yihui's post: News from knitr v1.35 to v1.37: Alternative Syntax for Chunk Options, and Some New Engines - Yihui Xie | 谢益辉

This topic was automatically closed after 119 days. New replies are no longer allowed.


If you have a query related to it or one of the replies, start a new topic and refer back with a link.