kableExtra icon indicating copy to clipboard operation
kableExtra copied to clipboard

Convert to datatable?

Open royfrancis opened this issue 7 years ago • 2 comments

Is it possible to convert kable to DT::datatable while preserving the formattings?

royfrancis avatar Sep 01 '18 16:09 royfrancis

This is a very interesting idea! I will do some exploration later!

haozhu233 avatar Sep 01 '18 16:09 haozhu233

Turns out formattable has a as.datatable() function which converts formattable to datatable. But, this doesn't work for kable or kableExtra. I don't understand the internal differences between formattable and kableExtra, but perhaps it's possible to tweak it.

royfrancis avatar Sep 01 '18 16:09 royfrancis