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

RStudio中安装see包失败,请求解决方法(依赖performance包check_model)

解决see包安装失败的可行方案

先排查基础问题

  • 检查R版本:see包要求R版本≥4.0,运行R.Version()查看当前版本,低于要求的话先升级到最新稳定版(不建议用开发版)
  • 手动安装核心依赖:很多安装失败是因为依赖包缺失,先装这些基础依赖:
    install.packages(c("ggplot2", "rlang", "glue", "scales", "ggridges", "patchwork"), dependencies = TRUE)
    

针对性安装方法

  • 换国内CRAN镜像重新安装:
    options(repos = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/"))
    install.packages("see", dependencies = TRUE)
    
  • 用remotes包强制从GitHub安装:
    install.packages("remotes")
    remotes::install_github("easystats/see", dependencies = TRUE, force = TRUE)
    
  • 手动源码安装:
    1. 下载see包的tar.gz源码包(CRAN官方页面可获取)
    2. 在RStudio中点击Tools -> Install Packages
    3. 选择Package Archive File (.tar.gz),选中下载的文件,勾选Install dependencies后点击安装

网络问题排查(国内用户适用)

如果是网络导致的安装失败,可临时设置代理后再安装:

# 设置代理(替换成你的代理地址和端口)
Sys.setenv(http_proxy="http://127.0.0.1:7890")
Sys.setenv(https_proxy="http://127.0.0.1:7890")
# 执行安装命令
install.packages("see")
# 安装完成后取消代理
Sys.unsetenv("http_proxy")
Sys.unsetenv("https_proxy")

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.08.22 20:27:30