| tempfile {base} | R Documentation | 
Returns a vector of character strings which can be used as names for temporary files.
tempfile(pattern = "file")
pattern | 
a non-empty character vector giving the initial part of the name. | 
If pattern has length greater than one then the result is of the
same length giving a temporary file name for each component of
pattern. 
The names are very likely to be unique among calls to tempfile
in an R session and across simultaneous R sessions.  The filenames are
guaranteed not to be currently in use.
The filenames will be in the directory given by the first found of
the environment variables TMP, TEMP and R\_USER
(see Rconsole). If the path to the directory contains
a space in any of the components, the path returned will use the
shortnames version of the path.
A character vector giving the names of possible (temporary) files.
Note that no files are generated by tempfile.
unlink for deleting files.