【发布时间】:2020-07-21 02:44:45
【问题描述】:
您好,我正在尝试在 R 第 I 部分(Coursera 课程)中进行探索性分析。我在 macOS Sierra 版本 10.12.6 上使用 RStudio 版本 1.2.1335。
我在输入“org.HS.eg.db”包时遇到问题:
BiocManager::install("org.Hs.eg.db")
当它尝试安装“org.Hs.eg.db”时,我进入控制台:
installing the source package ‘org.Hs.eg.db’
trying URL 'https://bioconductor.org/packages/3.9/data/annotation/src/contrib/org.Hs.eg.db_3.8.2.tar.gz' Content type 'application/x-gzip' length 74892843 bytes (71.4 MB) ==================================================
downloaded 71.4 MB
* installing
*source
* package ‘org.Hs.eg.db’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (org.Hs.eg.db) The downloaded source packages are in ‘/private/var/folders/l6/kbsz4n314tdfcxphnmnj7nr80000gn/T/Rtmpb14l6K/downloaded_packages’
当我稍后尝试运行时:
chr = AnnotationDbi::select(org.Hs.eg.db,keys=aeid,keytype="ENSEMBL",columns="CHR")
我进入控制台:
Error in AnnotationDbi::select(org.Hs.eg.db, keys = aeid, keytype = "ENSEMBL", : object 'org.Hs.eg.db' not found
【问题讨论】:
标签: installation package bioconductor