Learn R Programming

knitLatex (version 0.9.0)

knitLatex: knitLatex: Latex table helpers for knitr.

Description

This package was inspired by the xtable package, but allows for more fine_grained control, especially in regards to the longtable and supertabular (which is not included in xtable) environments. This package provides four functions to assist in using knitr with latex:

Arguments

Details

  • xTab: creates a basic latex table.
  • lTab: creates a longtable evironment.
  • sTab: creates a supertabular environment.
  • knitr_sethooks: fixes a bug in the knit_hook chunk and provids a 'com' hook which turns knitr output into latex commands