powered by
This function extends list.files by excluding the listing of directories.
list.files
list_files(path = ".", full.names = FALSE, ...)
a character vector of path names
whether to return absolute paths
other arguments passed to list.files
a character vector of only names of files
character
# NOT RUN { list.files(R.home()) list_files(R.home()) # }
Run the code above in your browser using DataLab