## First, install the BiocManager package, which will allow you to install packages from Bioconductor install.packages("BiocManager") ## Next, install Bioconductor BiocManager::install() ## or check that you have a valid installation BiocManager::valid() ## Then, run the following code to install the necessary packages. This can take some time. pkg <- c("SummarizedExperiment", "SingleCellExperiment", "Biostrings", "rtracklayer", "GenomicRanges", "GenomicFeatures", "org.Hs.eg.db", "TxDb.Hsapiens.UCSC.hg38.knownGene", "limma", "airway", "sloop") BiocManager::install(pkg) ## Finally, check that you can load the packages, i.e., that the following runs without errors suppressPackageStartupMessages({ invisible(lapply(pkg, library, character.only = TRUE)) }) ## For more information and troubleshooting, visit https://www.bioconductor.org/install/