library(rtweet)
x = search_tweets(
"social media reserach", n = 18000, include_rts = FALSE, retryonratelimit = TRUE
)
Answer
A Data Frame containing all tweets found with the search term "social media research" in the last few days with a maximum of 18.000 entries excluding retweets.