getFilePaths: Internal interpretation of file specification options

View source: R/getFilePaths.R

getFilePathsR Documentation

Internal interpretation of file specification options

Description

Internal interpretation of file specification options

Usage

getFilePaths(files = NULL, file.pattern = NULL, dir = NULL, quiet = FALSE)

Arguments

files

character vector of full file paths. Specify either files or both file.pattern and dir.

file.pattern

A regular expression to look for in dir. If used, dir must also be supplied.

dir

The directory i which to look for file.pattern. dir is passed to list.files as pattern. If supplied, file.pattern must also be supplied.

Value

A character vector of full paths to files


NMdata documentation built on Nov. 11, 2023, 5:07 p.m.