listFiles {omnibus}R 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')

[Package omnibus version 1.2.13 Index]