6

从哪里获得 jsonlite?显然它从 CRAN 中丢失了?

> install.packages('jsonlite')

给出:

Installing package into ‘C:/Users/cbusch/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.2/jsonlite_0.9.20.zip'
Warning in install.packages :
  cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.2/jsonlite_0.9.20.zip': HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.2/jsonlite_0.9.20.zip'
Warning in install.packages :
  download of package ‘jsonlite’ failed

有什么建议么?

4

1 回答 1

10

就像@user5249203 说的

install.packages('jsonlite', dependencies=TRUE, repos='http://cran.rstudio.com/')

于 2016-08-24T10:07:56.893 回答