Description Usage Arguments Examples
Creates a new file based of x only with lines containing the specified pattern(s) WARNING: uses unix grep
1 | grepTempFile(x, pattern, tempLocation = ".")
|
x |
String - path to file |
pattern |
Character vector - patterns to select in file |
1 2 3 4 | ## Not run:
grepTempFile("path/to/file", c("patternA", "patternB"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.