I am trying to embed an html table produced using kable
. The code producing the table takes a while to run, so I don't want to include it in my xaringan
slides.
Using xfun::file_string()
to read a saved txt file removes the formatting of the table. Is there a way to embed a saved and self-contained table into the slides?
Thanks!
You may use the chunk option
results='asis'
: