无法在BiocManager中安装GO.db

问题描述 投票:0回答:1

我已经快速浏览了其他帖子,但是找不到具有相同错误的帖子,即使有些似乎是一些常见的错误消息,所以如果我错过了以前的帖子,请道歉。

我正在尝试安装BioConductor包“GO.db”,但不断收到错误消息:

> BiocManager::install("GO.db") Bioconductor version 3.8 (BiocManager
> 1.30.4), R 3.5.2 (2018-12-20) Installing package(s) 'GO.db' installing the source package ‘GO.db’
> 
> trying URL
> 'https://bioconductor.org/packages/3.8/data/annotation/src/contrib/GO.db_3.7.0.tar.gz'
> Content type 'application/x-gzip' length 31820876 bytes (30.3 MB)
> downloaded 30.3 MB
> 
> * installing *source* package 'GO.db' ... Warning in file.copy(f, instdir, TRUE) :   problem copying .\NAMESPACE to
> C:\Users\Name\Documents\R\win-library\3.5\GO.db\NAMESPACE: Permission
> denied Warning in file(file, if (append) "a" else "w") :   cannot open
> file 'C:/Users/Name/Documents/R/win-library/3.5/GO.db/DESCRIPTION':
> Permission denied Error in file(file, if (append) "a" else "w") :   
> cannot open the connection ERROR: installing package DESCRIPTION
> failed for package 'GO.db'
> * removing 'C:/Users/Name/Documents/R/win-library/3.5/GO.db' In R CMD INSTALL
> 
> The downloaded source packages are in
>         ‘C:\Users\Name\AppData\Local\Temp\RtmpeYicUm\downloaded_packages’
> installation path not writeable, unable to update packages: class,
> codetools,   Matrix Update old packages: 'assertthat', 'mgcv'

我已经尝试重新安装BiocManager,我一直在删除我被告知过的目录。我甚至试过以管理员身份运行R.但所有这些尝试都会收到相同的错误消息。我已经看到一个建议使用R CMD INSTALL和一些关于锁定的命令,但由于这是一个BioConductor包,这个解决方案似乎在这里不可用。

r installation bioconductor
1个回答
0
投票

尝试通过多种方式下载软件包,并尝试从本地文件安装后,我仍然没有运气。

出于我不熟悉的原因,我仍然需要使用我的防病毒软件来减少文件保护。 R已经在允许修改我的文件的程序列表中,但无论出于何种原因,它仍然被阻止,并且仅用于灌输包GO.db - 尽管我想我会在这些中找到更多这些情况未来。

© www.soinside.com 2019 - 2024. All rights reserved.