我已经尝试安装DESeq2进行一些分析了几天。 R和biocLite是最新的,我试图运行时遇到权限错误
biocLite("DESeq2")
我收到了大部分好消息,但最后我得到了:
1: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘XML’ had non-zero exit status
2: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘annotate’ had non-zero exit status
3: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘genefilter’ had non-zero exit status
4: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘geneplotter’ had non-zero exit status
5: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘DESeq2’ had non-zero exit status
>
我已尝试编辑权限,通过sudo运行R,并将我的用户添加到人员组。
我感到茫然,我还能做些什么来安装它?
由于
答案 0 :(得分:2)
从日志中看,问题似乎源自XML
包。如果XML
库不可用,则libxml2
包无法编译。要在Linux上安装它:
sudo apt-get install libxml2
sudo apt-get install libxml2-dev
然后重新运行安装。