Skip to content Skip to sidebar Skip to footer

R Save FlexTable As Html File In Script

I have a FlexTable produced with the ReporteRs package which I would like to export as .html. When I print the table to the viewer in RStudio I can do this by clicking on 'Export

Solution 1:

This works for me:

writeLines(as.html(myflex), "MyFlexTable.html")

Post a Comment for "R Save FlexTable As Html File In Script"