delete temp files in shiny

Hi ...
I'm new with shiny ... i created an app for upload ZIP files in shiny, and unzip in local directory, the app works well.
But if i try to upload a new zip file and unziped ... the ancients files are in the local directory yet. how i can delete those files? for process every zip file like a new ?

Thank you so much for your help

You have to delete them

unlink("path/to/file.zip or regex pattern e.g. *.zip")

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.