r - Save View() output of RStudio as html -


is possible save page see when use view() command in rstudio on data html file?

maybe data looks mtcars data

data(mtcars) view(mtcars)  library(xtable) 

sink command sends output file

sink('somehtmlfile.html') print(xtable(mtcars),type='html') 

then return things normal with

sink() 

now open somehtmlfile.html in browser


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -