35431/r-programming-error-twitter-oauthfactory-object
I'm creating a R session to download twitter feeds. I have all the libraries needed for the program and packages installed. I got an error which says 'object OAuthFactory not found'.
This is my code:
my.key <- "xxx" #consumer secret my.secret <- "xxx" cred <- OAuthFactory$new(consumerKey=my.key, consumerSecret=my.secret, requestURL = 'https://api.twitter.com/oauth/request_token', accessURL = 'https://api.twitter.com/oauth/access_token', authURL = 'https://api.twitter.com/oauth/authorize') Error: object 'OAuthFactory' not found
You need to install the following packages:
install.packages(c('ROAuth','RCurl')) require('ROAuth') require('RCurl')
Make sure you have installed the required ...READ MORE
Have you installed 'ROAuth' and 'RCurl' packages? ...READ MORE
Yes, Just like @Maverik said, It happens ...READ MORE
This is a very common issue that ...READ MORE
Well it truly depends on your requirement, If ...READ MORE
You can use the removesparseterm function. Removes sparse ...READ MORE
You can do this in R using ...READ MORE
Try replacing ID <- c("A123","A123","A123","A123","B456","B456","B456") item <- c("bread", "butter", "milk", ...READ MORE
Alright, you can either use gsub to match the ...READ MORE
Hi. Instead of breaking the line add it ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.