如何在twitteR中启用https支持?

如何在twitteR中启用https支持?,twitter,https,rcurl,Twitter,Https,Rcurl,我正在尝试使用R中的twitter包连接twitter。脚本和结果如下。在windows 8.1上运行R 3.1.2 64位。关于如何启用https有什么建议吗?我还没有在R-help或任何其他可搜索源上找到解决方案 require(twitteR) Loading required package: twitteR Loading required package: ROAuth Loading required package: RCurl Loading required package:

我正在尝试使用R中的twitter包连接twitter。脚本和结果如下。在windows 8.1上运行R 3.1.2 64位。关于如何启用https有什么建议吗?我还没有在R-help或任何其他可搜索源上找到解决方案

require(twitteR)
Loading required package: twitteR
Loading required package: ROAuth
Loading required package: RCurl
Loading required package: bitops
Loading required package: rjson
> 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')
> cred$handshake(cainfo = "C:/users/john/documents/twitter/cacert.pem")
Error in function (type, msg, asError = TRUE)  : 
  Protocol " https" not supported or disabled in libcurl

requestURL和以下URL的URL是用一个引号指定的。当单引号替换为双引号并删除空格时,该函数在Windows上工作