/usr/lib/R/site-library/knitr/doc/datatables.R is in r-cran-knitr 1.17-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | ## ----cool, results='asis'------------------------------------------------
library(knitr)
kable(mtcars, 'html', table.attr='id="mtcars_table"')
## ------------------------------------------------------------------------
options(markdown.HTML.header = system.file('misc', 'datatables.html', package = 'knitr'))
## ----boring, results='asis'----------------------------------------------
kable(head(mtcars), 'html')
|