-1

Is there a function such as kable to output character vectors in a way that doesn't look as ugly as the default console type?

user2554330
  • 37,248
  • 4
  • 43
  • 90
Carmen Sandoval
  • 2,266
  • 5
  • 30
  • 46

1 Answers1

3

See eg p from the pander package or the generic pander method:

> pander::pander(sample(letters, 5))
_p_, _r_, _v_, _f_ and _t_

If you want to override the default formatting, see panderOptions or specify directly in the p function.

daroczig
  • 28,004
  • 7
  • 90
  • 124