Is it possible to save the page which I see when use View() command in RStudio on some data as an html file?
Maybe your data looks like the mtcars data
data(mtcars)
View(mtcars)
library(xtable)
sink command sends output to a file
sink('somehtmlfile.html')
print(xtable(mtcars),type='html')
then return things back to normal with
sink()
now open the somehtmlfile.html in a browser
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With