简体   繁体   中英

searchTwitter returning an “empty” list

i'd appreciate some help. i am trying to use searchTwitter from the twitteR package and i typed the following command

> tws<-searchTwitter('#NASCAR',n=10) 
#when i tried to inspect the content of tws, i get the following:
> tws 
[[1]] 
character(0)

I am a newbie and i am not sure if this has to do with authentication or the RCurl package. Can someone please tell me how to fix this? I have searched the forunm and I couldn't find something directly relevant. any help is appreciated.

I ran your code and I got 10 tweets as well.

Do you have bitops and rjson installed?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM