printr: Automatically Print R Objects to Appropriate Formats According to the 'knitr' Output Format

Extends the S3 generic function knit_print() in 'knitr' to automatically print some objects using an appropriate format such as Markdown or LaTeX. For example, data frames are automatically printed as tables, and the help() pages can also be rendered in 'knitr' documents.

Version: 0.3
Imports: knitr (≥ 1.31)
Suggests: tools, rmarkdown
Published: 2023-03-08
DOI: 10.32614/CRAN.package.printr
Author: Yihui Xie ORCID iD [aut, cre]
Maintainer: Yihui Xie <xie at>
License: GPL-2 | GPL-3 [expanded from: GPL]
NeedsCompilation: no
Materials: README NEWS
CRAN checks: printr results


Reference manual: printr.pdf
Vignettes: An Introduction to the printr Package


Package source: printr_0.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): printr_0.3.tgz, r-oldrel (arm64): printr_0.3.tgz, r-release (x86_64): printr_0.3.tgz, r-oldrel (x86_64): printr_0.3.tgz
Old sources: printr archive

Reverse dependencies:

Reverse suggests: codemetar, designit, dvmisc, equaltestMI, felp, iemisc, LAGOSNE, LATERmodel, pseval, riskCommunicator, RolDE, SimCorrMix, SimMultiCorrData, stocks, table1, zFPKM


Please use the canonical form to link to this page.