Create and Preview RMarkdown Documents with QBit Workspace

Опубликовано: 23 Октябрь 2024
на канале: Quantargo
581
5

RMarkdown is an excellent format to create documents which combine code outputs with text---a programming paradigm called Literate Programming first introduced by Donald Knuth. Although RMarkdown documents are mostly used by the R community, preferably within the RStudio IDE, the format is not restricted to the R language. Also other language engines like Python, SQL or Julia can be used with RMarkdown. The current knitr package version 1.33 lists even 44 available engines.

Thanks to the pandoc document converter RMarkdown also supports many different [output formats](https://rmarkdown.rstudio.com/lesson-...) which can be set as `output` parameter in the YAML header, including:

HTML: Static HTML files `output: html_document`
PDF: PDF Documents generated through Latex, `output: pdf_document`
Word: Microsoft Word documents, `output: word_document`
Presentations: Presentation formats like MS Powerpoint `output: powerpoint_presentation`
Dashboards: e.g. flex dashboards`output: flexdashboard::flex_dashboard`

QBits Workspace facilitates the authoring of RMarkdown documents directly within the browser thanks to instant previews in the Viewer pane. The instant preview functionality leads to faster development iterations of RMarkdown documents and easy sharability via links.