string_search {hmsidwR}R Documentation

Scan all folders and files to find a string: string_search

Description

Scan all folders and files to find a string: string_search

Usage

string_search(path = ".", pattern, string)

Arguments

path

If NULL, the current directory is used

pattern

A regular expression pattern such as '\.R$'

string

A string such as 'metric'

Value

A character vector with the names of the files that contain the string

Examples

string_search(path=".","\\.R$","metric")

# function string_search

[Package hmsidwR version 1.1.2 Index]