yihui / printr

Some (magical) printing methods for knitr
https://yihui.org/printr/
118 stars 24 forks source link

Support for matrices #31

Closed expersso closed 7 years ago

expersso commented 7 years ago

I can't seem to get matrices to print with this package. Everything works fine for dataframes, ?foo, etc, but not matrices. The screenshot summarizes the situation.

printr

yihui commented 7 years ago

This has been fixed in knitr. You can install the development version via

devtools::install_github('yihui/knitr')
wikithink commented 5 years ago

Kable with 2 column but 0 rows data frame ends up with

tag in generated HTML,no thead,no tbody

yihui commented 5 years ago

When you cross-post issues, please mention it. Let's keep everyone in the same thread: https://github.com/yihui/knitr/issues/1677 Thanks!