当前位置: 首页 > news >正文

R语言:如何安装包“linkET”

自己在R语言中安装包“linkET”时报错不存在叫‘linket’这个名字的程辑包

尝试了install.packages("linkET")和BiocManager::install("linkET")两种安装办法都不行

 >install.packages("linkET")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:https://cran.rstudio.com/bin/windows/Rtools/
将程序包安装入‘C:/Users/86150/AppData/Local/R/win-library/4.3’
(因为‘lib’没有被指定)
Warning in install.packages :package ‘linkET’ is not available for this version of RA version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
> BiocManager::install("linkET")
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for details.
Replacement repositories:CRAN: https://cran.rstudio.com/
Bioconductor version 3.18 (BiocManager 1.30.23), R 4.3.2 (2023-10-31 ucrt)
Installing package(s) 'linkET'
Installation paths not writeable, unable to update packages

解决办法:利用 devtools::install_github()的安装方式进行安装

##安装usethis
install.packages("usethis")
##加载usethislibrary(usethis)
##安装devtoolsinstall.packages("devtools")
##加载devtoolslibrary(devtools)
##安装LinkETdevtools::install_github("Hy4m/linkET", force = TRUE)

 

显示 linKET安装成功

http://www.lryc.cn/news/428871.html

相关文章:

  • JSON, YAML, XML, CSV交互可视化
  • Android UI:PopupWindow:源码分析:设置WindowManager.LayoutParams中的各种参数
  • MySQL:从入门到放弃
  • C++OpenGL三维显示镜面反射光线漫反射实例
  • 【前端面试】从npm 升级到 pnpm的总结
  • 同步外网YUM源-3
  • Linux的oracle数据库导入其他用户导出的数据库文件
  • FLUX.1 文生图模型微调指南
  • JavaWeb基础:HTTP协议与Tomcat服务器
  • python井字棋游戏设计与实现
  • 据说是可以和 Windows 一拼的 5个 Linux 发行版
  • PHP 常用函数
  • 如何将MySQL迁移到TiDB,完成无缝业务切换?
  • 【嵌入式烧录刷写文件】-2.10-为一个Intel Hex文件计算校验和Checksum
  • 整体思想以及取模
  • RabbitMQ 消息可靠保障
  • Redis 作为 PHP 的会话存储
  • 基于伏图的数字心脏模拟仿真APP应用介绍
  • 智云-一个抓取web流量的轻量级蜜罐docker一键启动
  • 原生HTML5、CSS、JavaScript实现简易网易云音乐播放
  • 网上商城小程序的设计
  • 微分方程(Blanchard Differential Equations 4th)中文版Section2.2
  • Swift 环境搭建
  • 科技与出版
  • 5年前端面试之路
  • 产品运营(一)--产品运营是什么?
  • 学习大数据DAY41 Hive 分区表创建
  • 【三维目标检测模型】ImVoteNet
  • 力扣 | 背包dp | 279. 完全平方数、518. 零钱兑换 II、474. 一和零、377. 组合总和 Ⅳ
  • 【ECMAScript性能优化的技巧与陷阱】