首页 > 解决方案 > How should I open the package "scater"?

问题描述

I have the lastest update of (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)

标签: rrstudio

解决方案


来自 github 上的包自述文件。您应该通过 BiocManager 安装

if (!requireNamespace("BiocManager", quietly=TRUE))
    install.packages("BiocManager")
BiocManager::install("scater")

推荐阅读