
Delete Stata temporary files
delete_stata_temps.Rd
The function identifies Stata temporary files based on their naming convention. It then deletes the identified files and prints the number of files deleted along with the cleared disk space.
Arguments
- temp_dir
Optional. The directory to search for Stata temporary files. If
NULL
(the default value), the function will attempt to find the Stata temporary directory with the aid offind_stata_tempdir()
.