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 Jan. 16, 2018, 1:03 a.m.