[R] Error with Twitter Authorization for Sentiment Analysis
sunnysingha.analytics at gmail.com
Mon Feb 15 15:37:32 CET 2016
I’m not sure how you have installed ‘twitterR’ package. But please follow below steps and your issue will be resolved:
- Ensure there are no objects in memory. To be sure run these commands :
# Remove packages
- Execute below in sequence and later assign your keys to get going:
#Twitter analytics with R
install.packages(c("devtools", "rjson", "bit64", "httr"))
> On 15-Feb-2016, at 6:36 PM, SHIVI BHATIA <shivi.bhatia at safexpress.com> wrote:
> Hi Sandeep,
> Here is my authorization code:
> Prior to this I have just added my consumer key and the other var after
> logging at https://apps.twitter.com. Does this help.
> -----Original Message-----
> From: Sandeep Rana [mailto:sunnysingha.analytics at gmail.com]
> Sent: Monday, February 15, 2016 5:52 PM
> To: SHIVI BHATIA <shivi.bhatia at safexpress.com>
> Cc: r-help at r-project.org
> Subject: Re: [R] Error with Twitter Authorization for Sentiment Analysis
> Could you also share the piece of code to have a look at ?
> Sunny Singha
>> On 14-Feb-2016, at 3:45 PM, SHIVI BHATIA <shivi.bhatia at safexpress.com>
>> Dear Team,
>> Every now and then I face issues while connecting to Twitter:
>> Error in check_twitter_oauth() : OAuth authentication error:
>> This most likely means that you have incorrectly called
>> I have checked multiple github suggestion and statsexchange forum &
>> have followed all suggestion such as to update httpuv package and
>> calling out the library names in a certain manner however I am still
>> not successful.. Also apart from these there was also recommendation
>> on httr package to be called first though while calling the httr package I
> got this message:
>> Error in unloadNamespace(package) :
>> namespace 'httr' is imported by 'twitteR' so cannot be unloaded
>> Not sure on what is to be done here hence require help from the forum.
>> Thanks, Shivi
>> Mb: 9891002021
>> This e-mail is confidential. It may also be legally privileged. If you are
> not the addressee you may not copy, forward, disclose or use any part of it.
> If you have received this message in error, please delete it and all copies
> from your system and notify the sender immediately by return e-mail.
> Internet communications cannot be guaranteed to be timely, secure, error or
> virus-free. The sender does not accept liability for any errors or
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
> This e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
[[alternative HTML version deleted]]
More information about the R-help