To cite package ‘printr’ in publications use:

Xie Y (2026). printr: Automatically Print R Objects to Appropriate Formats According to the 'knitr' Output Format. R package version 0.3.1, https://github.com/yihui/printr.

Corresponding BibTeX entry:

  @Manual{,
    title = {printr: Automatically Print R Objects to Appropriate
      Formats According to the 'knitr' Output Format},
    author = {Yihui Xie},
    year = {2026},
    note = {R package version 0.3.1},
    url = {https://github.com/yihui/printr},
  }