Using texPreview to Convert TeX lines to Kable Objects

library(texPreview)

tex_opts$set( 
 returnType = 'html',
 opts.html = list(width = '50%', height = '50%')
) 

read the lines in the tex file

convert lines into knitr_kable

preview the table

plot of chunk unnamed-chunk-5

plot of chunk unnamed-chunk-5

use kableExtra to manipulate the table and preview

plot of chunk unnamed-chunk-6

plot of chunk unnamed-chunk-6

AltStyle によって変換されたページ (->オリジナル) /