List the Files in a Directory/Folder. Description. These functions produce a character vector of the names of files or directories in the named directory.
List the Files in a Directory/Folder. Description. This function produces a list containing the names of files in the named directory. dir is an alias.