r - How should I open the package "scater"?
问题描述
I have the lastest update of rstudio (3.5.2
), but if I want to install the package it would give me an error. What should I do?
install.packages("scater")
library(scater, quietly = TRUE)
Installing package into ‘C:/Users/Mary/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘scater’ is not available (for R version 3.5.2)
解决方案
来自 github 上的包自述文件。您应该通过 BiocManager 安装
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("scater")
推荐阅读
- java - 如何使用“添加”按钮重复添加 JPanel?如何在 ActionListener() 中调用 JPanel?
- angular - 如何在 Angular 6 的获取 url 中使用 localstorage 值?
- javascript - 如何在 click 函数中定位 span 的字符串?
- .net-core - 身份模型是否具有密码资源所有者流程的令牌自动刷新?
- python-3.x - 模块“statsmodels.tsa.api”没有属性“arima_model”
- android - 带有 Rg.Plugins.Popup 的 Xamarin Forms 应用程序在 Android 设备上崩溃
- java - 点击注册会导致安卓应用崩溃
- javascript - 计算具有该对象的数组中的对象和该对象的计数
- java - 微服务:Rest 模板与客户端 Jar
- ios - Swift 的生命周期图是否与我们所知道的 Objective-C 相同?