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 -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -