Learn R Programming

CME.assistant (version 1.1.4)

get.file.name: Show all file directories within the file directory `dir_file` and matched by pattern `pattern0`

Description

Search only the files in the folder, match by `pattern0`, the search is not recursive.

Usage

get.file.name(dir_file, pattern0, full_name = TRUE)

Arguments

dir_file

directory

pattern0

string to match file names

full_name

list.files(full.names), if TRUE (default) returns full directories, if FALSE, return only the file names

Value

vector of matched file directories