list_files: List the files in a directory.

Description Usage Arguments Value Examples

View source: R/directory.R

Description

This function extends list.files by excluding the listing of directories.

Usage

1
list_files(path = ".", full.names = FALSE, ...)

Arguments

path

a character vector of path names

full.names

whether to return absolute paths

...

other arguments passed to list.files

Value

a character vector of only names of files

Examples

1
2

io documentation built on Dec. 18, 2019, 1:39 a.m.