Sys.tempdir() retrieves the system temporary directory, which is
usually /tmp under Unix, but could be located elsewhere, especially under
Windows. It is simply the root directory of tempdir().
Usage
Sys.tempdir()
Arguments
Value
A string with the path to the system temporary directory.