Description Usage Arguments Examples
file-scan.r Function to find a pattern in files with user-defined extension (.r by default) Returns file name and approximate row matches if positive.
1 2 |
pattern |
pattern to look for (can be regexp) |
dir |
directory to search files in, defaults to working directory |
fpattern |
file extension pattern (optional) |
ftype |
defaults to R files, accepts regular expressions |
show.line |
if TRUE, prints out the line where the pattern is found |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.