R2Excel(mtcars, file='mtcars.xlsx', sheetName = 'mtcars',
title = "Main title", subtitle = "More detailed description")
if(!file.exists('mtcars.xlsx'))
stop('file was not created')
## remove
unlink('mtcars.xlsx')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.