Skip to contents

This function searches for files matching the specified patterns and returns their paths as a character vector, similar to Python's pathlib.Path.glob() method.

Usage

Path_glob(patterns)

Arguments

patterns

A character vector of file patterns to match.

Value

A character vector containing the paths of matching files.

Examples

if (FALSE) {
Path_glob("*.txt")
}