Esteemed RStudio community,
This:
library(knitr)
library(kableExtra)
dt <- mtcars[1:5, 1:6]
dt %>%
kable() %>%
kable_styling()
Writes to my hardrive the following files and directory which are needed for proper rendering of the html page:
/tmp/.../index.html
/tmp/.../lib/libraryX/some_files
/tmp/.../lib/libraryY/more_files
Sometimes I'm not able to use RStudio to develop kableExtra tables and must use another editor like Emacs. I can capture the contents of index.html e.g. using writeLines(), but would also like to output the /tmp.../lib directories and files that RStudio automagically does in order have the fully rendered html output as it would appear using RStudio.
How can i get this? Is it practically possible or are packages like kableExtra really dependent on RStudio?
Apologies in advance if the topic belongs elsewhere or has already been raised previously - please point me there! < first post
>