I am trying my hand at some data mining and attempting to retrieve data from Twitter.
When I tried installing the package 'twitteR', I get the following warning:
Warning in install.packages :
download of package ‘rjson’ failed
But it loads the rest of the packages. Then when I try to call the library:
> library(twitteR)
Loading required package: ROAuth
Loading required package: RCurl
Loading required package: bitops
Attaching package: ‘RCurl’
The following object is masked from ‘package:tm.plugin.webmining’:
getURL
Loading required package: digest
Error: package ‘rjson’ required by ‘twitteR’ could not be found
Which makes sense, if it could not download the 'rjson' package initially.
When I tried to install the 'rjson' package alone, I get a familiar error:
> install.packages("rjson")
trying URL 'http://cran.rstudio.com/bin/macosx/contrib/3.0/rjson_0.2.13.tgz'
Warning in install.packages :
cannot open: HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'http://cran.rstudio.com/bin/macosx/contrib/3.0/rjson_0.2.13.tgz'
Warning in install.packages :
download of package ‘rjson’ failed
I am not familiar with troubleshooting these errors. Any help is very much appreciated.