remove_file_if_present {beastier} | R Documentation |
Remove a file if it is present, will do nothing if it is not.
remove_file_if_present(filename)
filename |
name of a file |
Nothing. Will remove the file if it is presented, will do nothing if it is not.
Richèl J.C. Bilderbeek
filename <- tempfile()
file.create(filename)
remove_file_if_present(filename)
remove_file_if_present(filename)