list_tmp.Rd
List files in tempdir()
list_tmp(ext = NULL, full = TRUE)
ext | a string defining a file extension (defaul is NULL) |
---|---|
full | a TRUE/FALSE value indicating if the function should return the full path of the files (default is TRUE). |
list files in tempdir()
list_tmp()
will check and print files in tempdir()
.
If any file extension is informed, will print all files in the root
of temporary directory. If some file extension is informed will
check and print all files matching that extension in
tempdir()
, including nested folders.
# NOT RUN { # to list files in tempdir() root list_tmp() # to list files of an extension list_tmp(".zip") # }