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
Post a Comment