You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

升级R与RStudio后安装包出现DESCRIPTION文件错误求助

R包安装报错:无法解压zip文件且无法打开DESCRIPTION文件

环境版本信息

R版本

R version 4.3.2 (2023-10-31 ucrt) -- "Eye Holes"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

RStudio版本

RStudio 2023.09.1+494 "Desert Sunflower" Release (cd7011dce393115d3a7c3db799dda4b1c7e88711, 2023-10-16) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.09.1+494 Chrome/116.0.5845.190 Electron/26.2.4 Safari/537.36

问题详情

更新R与RStudio后,安装任意R包均报错。例如安装dplyr时的错误信息:

Warning in install.packages :
 error 1 in extracting from zip file
Warning in install.packages :
  cannot open compressed file 'fansi/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection

安装mime时出现类似错误:

install.packages("mime")
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/mime_0.12.zip'
Content type 'text/html' length 9120 bytes
downloaded 9120 bytes

Warning in install.packages :
error 1 in extracting from zip file
Warning in install.packages :
 cannot open compressed file 'mime/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection

请求帮忙排查该问题的原因。


内容的提问来源于stack exchange,提问作者89_Simple

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.07 10:06:06