R Studio 1.3.959 安装包时出错? | 珊瑚贝

R Studio 1.3.959 Errors in Installing Packages?


当我尝试在我新安装的 R Studio 上安装 tidyverse 时,已经安装了 Rtools,它给了我这样的错误。我对如何处理这个问题感到困惑。也许我错过了一些基本的东西?

install.packages(“tidyverse”)

Installing package into ‘C:/Users/Asus/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified) trying URL ‘https://cran.rstudio.com/bin/windows/contrib/4.0/tidyverse_1.3.0.zip’

Content type ‘application/zip’ length 439944 bytes (429 KB) downloaded 429 KB

package ‘tidyverse’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\\Users\\Asus\\AppData\\Local\\Temp\
tmpwvpGBU\\downloaded_packages

library(tidyverse)

Error: package or namespace load failed for ‘tidyverse’:
.onLoad failed in loadNamespace() for ‘broom’, details:
call: loadNamespace(name)
error: there is no package called ‘backports’

devtools::install_github(“”)

Error: .onLoad failed in loadNamespace() for ‘pkgload’, details:
call: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
error: there is no package called ‘backports

编辑:Phil 很棒,效果很好

  • 运行 install.packages(“backports”)


来自 Phil 的

install.packages(“backports”) 评论工作


您可以按照评论中的建议手动安装这些依赖项。但是,我会尝试以下方法:

1
install.packages(“tidyverse”, dependencies=TRUE)

有关 dependencies 参数的更多信息,请参见以下链接:
https://www.rdocumentation.org/packages/utils/versions/3.6.2/topics/install.packages


来源:https://www.codenong.com/62177230/

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_9488.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?