R,biocLite,安装DESeq2时出错 [英] R, biocLite, error installing DESeq2

查看:95
本文介绍了R,biocLite,安装DESeq2时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天来我一直在尝试安装DESeq2进行一些分析. R和biocLite是最新的,尝试运行

I've been trying to install DESeq2 to do some analysis for a couple days now. R and biocLite are up to date, and I'm running into permission errors when I try to run

biocLite("DESeq2")

我收到的大部分都是好消息,但最后我得到了:

I receive mostly good messages, but at the end I get:

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,并将用户添加到人员组.

I've tried editing permissions, running R through sudo, and adding my user to the staff group.

我不知所措,该怎么做才能安装此软件?

I'm at a loss, what else can I do to get this installed?

谢谢

推荐答案

从日志来看,问题似乎源于XML包.如果libxml2库不可用,XML程序包将无法编译.要将其安装在Linux上:

From the log, it seems that the problem originated from XML package. XML package fails to compile if libxml2 library is not available. To install it on Linux:

sudo apt-get install libxml2 
sudo apt-get install libxml2-dev

然后重新运行安装.

这篇关于R,biocLite,安装DESeq2时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆