Chris Chris - 11 months ago 78
R Question

jsonlite for R gives error when trying to install

Where does one get jsonlite? Apparently it is missing from CRAN?

> install.packages('jsonlite')


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

Any suggestions?

Answer Source

Like @user5249203 said:

install.packages('jsonlite', dependencies=TRUE, repos='')