Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library(stringr)
- apple_wiki <- readr::read_file("Apple_Wikipedia.txt")
- x <- c("Apple","iOS", "iPhone")
- str_count(apple_wiki, x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement