gpt4 book ai didi

r - R的jsonlite在尝试安装时出错

转载 作者:行者123 更新时间:2023-12-04 11:47:28 33 4
gpt4 key购买 nike

从哪里获得 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

有什么建议?

最佳答案

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

关于r - R的jsonlite在尝试安装时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37707493/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com