Learn R Programming

CME.assistant (version 1.1.4)

search.for.file: Search for file paths matched by part of the file name

Description

Search for files containing the `file_name_string` in all sub-folders in `target.dir`, and list files containing the `file_name_string`

Usage

search.for.file(target.dir, file_name_string, full_path = FALSE)

Arguments

target.dir

target directory

file_name_string

e.g. "data_U5MR"

full_path

full path or not