Overview of printr enhanced printing capabilities
masterThe printr package automatically changes how certain R objects are rendered in your document output (LaTeX, HTML, or Markdown) compared to a standard R console. Supported enhancements include:
- Tables: Matrices, data frames, and contingency tables are rendered as formatted tables.
- Help Pages: Help pages (e.g., from
?fooorhelp(foo)) can be rendered as HTML, LaTeX, or plain text. You can also specify specific sections to include. - Search & Discovery Results: Results from
browseVignettes(),help.search(),data(), andvignette()are rendered as tables. - Package Info: Information retrieved via
library(help = 'foo')is rendered as plain text.