powered by
Searches R scripts and R markdown files within a project.
searchScripts(matcher, project.id = getProject(), ...)
string or regular expression to identify within R or R markdown files
string for project id to search within.
arguments to grep
Data frame with file names and counts of lines with matches.
Uses grep. Counts lines with matches, but repeats within a line are not counted.
# NOT RUN { # Opens read_data.R within the adaprHome project searchScripts("read_data.R","adaprHome") # } # NOT RUN { # }
Run the code above in your browser using DataLab