powered by
"tm_filter"(x, FUN, ...) "tm_filter"(x, FUN, ...) "tm_index"(x, FUN, ...) "tm_index"(x, FUN, ...)
FUN
tm_filter
tm_index
data("crude") # Full-text search tm_filter(crude, FUN = function(x) any(grep("co[m]?pany", content(x))))
Run the code above in your browser using DataLab