List full file paths with the file name as the name
list.files2.RdList full file paths with the file name as the name
Arguments
- path
(character)dir path to files- full.names
a logical value. If
TRUE, the directory path is prepended to the file names to give a relative file path. IfFALSE, the file names (rather than paths) are returned.- ...
Arguments passed on to
base::list.filespatternan optional regular expression. Only file names which match the regular expression will be returned.
all.filesa logical value. If
FALSE, only the names of visible files are returned (following Unix-style visibility, that is files whose name does not start with a dot). IfTRUE, all file names will be returned.recursivelogical. Should the listing recurse into directories?
ignore.caselogical. Should pattern-matching be case-insensitive?
include.dirslogical. Should subdirectory names be included in recursive listings? (They always are in non-recursive ones).
no..logical. Should both
"."and".."be excluded also from non-recursive listings?
See also
Other file IO:
col_types(),
dep_read(),
dep_write(),
dir_fn(),
dirs,
ext(),
file_fn(),
is_filepath(),
last_updated(),
load_obj(),
make_names(),
mkpath(),
move_files_to_folder(),
needs_update(),
object_fn(),
object_write(),
package_size(),
write_dir_fn(),
write_lines()