twitteR
twitteR copied to clipboard
Error in setup_twitter_oauth
So, I'm trying to use Twitter's API but all I get is "Error: could not find function "setup_twitter_oauth" Here's what I'm running in RStudio:
library(twitteR)
library(wordcloud)
library(tm)
library(plyr)
consumer_key <- 'xxxxxxxx'
consumer_secret <- 'xxxxxx'
access_token <- 'xxxx-xxxx'
access_secret <- 'xxxxx'
setup_twitter_oauth (consumer_key,
consumer_secret,
access_token,
access_secret)
I saw some questions like mine, but none of them worked. Wondering if someone has an updated solution (:
thanks!
I am having the same problem. Have found a solution to it so far?
same problem here. Error in setup_twitter_oauth(consumerKey, consumerSecret, accessToken, : could not find function "setup_twitter_oauth"
In my case ,I was directly writting the values of 4 parameters in the function :setup_twitter_oauth and because of this R studio was showing :(Error: could not find function "setup_twitter_oauth") But when i first assigned the values of the parameters to their variables and then passed them to the function then it worked fine for me !! Hope it helps !