Description Usage Arguments Examples
convert raw html to tagList
1 | html2tagList(x)
|
x |
character vector of html |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | x<-'<h1>Title</h1>
<h2>Header text</h2>
<p>Text here</p>
<h1>Title</h1>
<h2>Header text</h2>
<p>Text here</p>'
html2tagList(x)
require(xtable)
htmlIn<-print(xtable::xtable(mtcars),type = 'html',print.results = FALSE)
htmlIn
tagL<-html2tagList(htmlIn)
class(tagL)
tagL
if(interactive()) htmltools::browsable(tagL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.