简体   繁体   English

在 R 中安装软件包

[英]install packages in R

Before to ask your help I search on StackOverflow for a possible solution.在寻求您的帮助之前,我会在 StackOverflow 上搜索可能的解决方案。 Unfortunately, they do not work for me.不幸的是,它们对我不起作用。 I want to run an app in Rstudio.我想在 Rstudio 中运行一个应用程序。 Most of the packages run for R>4.0 but BiocInstaller(that I need because is an old app) running R 3.5-3.99..... What I should do.大多数软件包运行 R>4.0 但 BiocInstaller(我需要,因为它是一个旧应用程序)运行 R 3.5-3.99 ..... 我应该做什么。 If I install R >4 I have a problem with BiocInstaller.如果我安装 R >4 我有 BiocInstaller 的问题。 If I install R 3.5.3 I have a problem with other packages....please help I tried fresh installing, upgrades, downgrades, installing in different ways manually and not...please如果我安装 R 3.5.3 我有其他软件包的问题....请帮助我尝试全新安装,升级,降级,手动安装不同的方式而不是...请

Are you looking for this?你在找这个吗?

if(!requireNamespace("BiocManager", quietly = TRUE)){
  install.packages("BiocManager")
}
BiocManager::install(version = "3.11")

See the Bioconductor - install page.请参阅Bioconductor - 安装页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM