
Find Stata Temporary Directory
find_stata_tempdir.RdThis function attempts to find the directory where Stata stores its temporary
files. It checks the STATATMP environment variable first, since is used to
modify predefined temporary files. If STATATMP doesn't exists, it falls
back to TEMP on Windows or TMPDIR on Linux/Unix.