将推文存储到RStudio中的MongoDB中

将推文存储到RStudio中的MongoDB中,r,mongodb,twitter,twitter-oauth,R,Mongodb,Twitter,Twitter Oauth,我正在尝试将推文存储到RStudio中的MongoDB中。我得到以下错误 > my_oauth<-OAuthFactory$new(consumerKey=consumerKey,consumerSecret=consumerSecret, requestURL=requestURL,accessURL=accessURL, authURL=authURL) > my_oauth$handshake(cainfo = system.file("CurlSSL", "cacert

我正在尝试将推文存储到RStudio中的MongoDB中。我得到以下错误

> my_oauth<-OAuthFactory$new(consumerKey=consumerKey,consumerSecret=consumerSecret, requestURL=requestURL,accessURL=accessURL, authURL=authURL)
> my_oauth$handshake(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"))

* Hostname was NOT found in DNS cache
* Could not resolve proxy: host
* Closing connection 7
Error in function (type, msg, asError = TRUE)  : 
Could not resolve proxy: host
>my_oauth my_oauth$握手(cainfo=system.file(“curlsl”、“cacert.pem”、package=“RCurl”))
*在DNS缓存中找不到主机名
*无法解析代理:主机
*关闭连接7
函数中出现错误(类型、消息、asError=TRUE):
无法解析代理:主机

我的系统是Ubuntu 14.04。如何解决这个问题?

当我查询CRAN上名称中包含“mongo”的包列表时,我看到mongodb的三个不同接口。由于您没有提到任何一个,我猜(在没有关于db安装的详细信息的情况下,我们所有人都可以这样做)您没有完成必要的安装步骤。我使用了RMongo软件包,因为您后来发布了一个关于输出的问题,我猜你已经找到了安装mongodb的方法。实际上这两种方法都是通过两种不同的方式完成的…这里流式推文是使用streamr软件包存储的…那里我使用搜索推文功能来获取推文