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.

Package details

AuthorYihui Xie [aut, cre] (<https://orcid.org/0000-0003-0645-5666>)
MaintainerYihui Xie <xie@yihui.name>
LicenseGPL
Version0.3
URL https://yihui.org/printr/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("printr")

Try the printr package in your browser

Any scripts or data that you put into this service are public.

printr documentation built on March 31, 2023, 9:04 p.m.