Description Usage Arguments Examples
Platform-independent method to open a .xlsx file; requires a relative filepath from getwd() as well as capability of opening the document from terminal (Excel / LibreOffice / etc.)
1 | xlsx.openFile(filename = NULL)
|
filename |
the name of the file to open |
1 2 3 4 5 | require('xlsx')
wb <- createWorkbook(type="xlsx")
sheet <- xlsx::createSheet(wb, sheetName = "example")
saveWorkbook(wb, "test.xlsx")
xlsx.openFile("test.xlsx")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.