gpt4 book ai didi

r - 在 Windows 中更新 R

转载 作者:行者123 更新时间:2023-12-02 04:14:34 25 4
gpt4 key购买 nike

已关注 this post还有this link ,我尝试更新我的 R 版本。

 sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] installr_0.9

loaded via a namespace (and not attached):
[1] tools_2.14.0

但是当我运行代码时

  updateR()
Error in file(con, "r") : cannot open the connection

运行以下命令时显示完全相同的错误:

 check.for.updates.R() # tells you if there is a new version of R or not.
Error in file(con, "r") : cannot open the connection

install.R() # download and run the latest R installer
Error in file(con, "r") : cannot open the connection

如何更新我的 R 版本?

最佳答案

https://github.com/talgalili/installr/#troubleshooting ,

尝试运行:

setInternet2(TRUE)

当我收到以下错误消息时,这对我有用:

Error in file(con, "r") : cannot open the connection

关于r - 在 Windows 中更新 R,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31309247/

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