html2tagList: html2tagList

Description Usage Arguments Examples

View source: R/html2tagList.R

Description

convert raw html to tagList

Usage

1

Arguments

x

character vector of html

Examples

 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)

yonicd/shinyHeatmaply documentation built on April 7, 2020, 10:44 a.m.