Learn R Programming

tfse (version 0.5.0)

search_files: search_files

Description

Returns matching files and line numbers of given string pattern.

Usage

search_files(x, path = ".", recursive = TRUE, all.files = FALSE)

Arguments

x

Pattern.

path

Path on which to restrict search. Defaults to current working directory.

recursive

logical

all.files

default false excludes dot files

Value

Output from terminal - file name, line number, and preview of matching text