listFiles: Replacement for 'list.files()'

View source: R/listFiles.r

listFilesR Documentation

Replacement for list.files()

Description

This function is a slightly friendlier version of list.files in that it automatically includes the full.names=TRUE argument.

Usage

listFiles(x, ...)

Arguments

x

Path name of folder containing files to list.

...

Arguments to pass to list.files (other than full.names).

Value

Character.

See Also

list.files

Examples

# list files in location where R is installed
listFiles(R.home())
listFiles(R.home(), pattern='README')

omnibus documentation built on April 3, 2025, 8:55 p.m.