Returns matching files and line numbers of given string pattern.

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