尝试在R中使用Twitter API进行身份验证时出现错误。
cred$handshake(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")
的结果)
是'函数错误(类型,msg,asError = TRUE):连接到api.twitter.com:443 时出现未知的SSL协议错误
预期结果:它应该要求在Twitter应用中生成图钉,但显示错误。
答案 0 :(得分:0)
我在这里发布了类似的问题
Errors when trying to stream from the Twitter API
解决方案是更新R
# installing/loading the latest installr package:
install.packages("installr")
library(installr) # install+load installr
updateR() # updating R.
并重新安装我用于Twitter API的软件包(TwitteR,streamR)