zip_folder | R Documentation |
zip::zip()
is used so this is platform independent. It will keep the
relative path structure in zip, include folder_path
itself so the zip can
be extracted directly without need of creating a folder to hold contents. The
zip file will be saved to the parent folder of folder_path
.
zip_folder(folder_path, zip_name)
folder_path |
The folder to be compressed |
zip_name |
The name of zip |
The absolute path of result zip file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.