xg_unzip | R Documentation |
Extracts the files from an xlsx zip archive. Note it will overwrite existing files, so plan accordingly.
xg_unzip(path, exdir = NULL)
path |
Character, length one. Path to xlsx file. |
exdir |
Passed to |
The path to the top-level directory of the unpacked xlsx, invisibly.
file.copy(xg_example("datasets"), "datasets.xlsx")
xg_unzip("datasets.xlsx")
## clean up
unlink("datasets", recursive = TRUE)
file.remove("datasets.xlsx")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.