1. options(useHTTPS=FALSE, BioC_mirror="http://bioconductor.org")
  2.  
  3. source("http://bioconductor.org/biocLite.R")
  1. install.packages("XML")
  2.  
  3. trying URL 'https://cloud.r-project.org/src/contrib/XML_3.98-1.4.tar.gz'
  4. Content type 'application/x-gzip' length 1599214 bytes (1.5 MB)
  5. ==================================================
  6. downloaded 1.5 MB
  7.  
  8. * installing *source* package XML ...
  9. ** package XML successfully unpacked and MD5 sums checked
  10. checking for gcc... gcc
  11. checking for C compiler default output file name... a.out
  12. checking whether the C compiler works... yes
  13. checking whether we are cross compiling... no
  14. checking for suffix of executables...
  15. checking for suffix of object files... o
  16. checking whether we are using the GNU C compiler... yes
  17. checking whether gcc accepts -g... yes
  18. checking for gcc option to accept ISO C89... none needed
  19. checking how to run the C preprocessor... gcc -E
  20. checking for sed... /usr/local/Library/ENV/4.3/sed
  21. checking for pkg-config... /usr/local/bin/pkg-config
  22. checking for xml2-config... /Users/richiethomas/anaconda/bin/xml2-config
  23. USE_XML2 = yes
  24. SED_EXTENDED_ARG: -E
  25. Minor 9, Patch 2 for 2.9.2
  26. Located parser file -I/Users/richiethomas/anaconda/include/libxml2/parser.h
  27. Checking for 1.8: -I/Users/richiethomas/anaconda/include/libxml2
  28. Using libxml2.*
  29. checking for gzopen in -lz... yes
  30. checking for xmlParseFile in -lxml2... yes
  31. You are trying to use a version 2.* edition of libxml
  32. but an incompatible library. The header files and library seem to be
  33. mismatched. If you have specified LIBXML_INCDIR, make certain to also
  34. specify an appropriate LIBXML_LIBDIR if the libxml2 library is not in the default
  35. directories.
  36. ERROR: configuration failed for package XML
  37. * removing ‘/usr/local/lib/R/3.2/site-library/XML
  38.  
  39. The downloaded source packages are in
  40. ‘/private/var/folders/jy/0cwn40p951xc7f1480z3sxzm0000gn/T/RtmpvWMrkH/downloaded_packages
  41. Warning message:
  42. In install.packages("XML") :
  43. installation of package XML had non-zero exit status

  出现上述报错,的快速解决方法如下

  1. conda install -c r r-xml

若继续出现下面错误:

/bin/sh: /root/anaconda2/bin/x86_64-conda_cos6-linux-gnu-gcc: No such file or directory

  1. conda install gxx_linux-
  2.  
  3. provides x86_64-conda_cos6-linux-gnu-c++
  1. conda install gcc_linux-
  2. conda install gxx_linux-
  3.  
  4. conda install gfortran_linux-
  5. conda install -c tsnyder gfortran_linux-cos6-x86_64

快速链接bioconductor,以及安装“XML”的更多相关文章

  1. ubuntu 14 安装XML::Simple 模块

    最近需要用到perl 来解析xml 文件,从网上搜索了一下,大部分都建议使用XML::Simple 模块来解析,这里记录一下安装过程 方法一: 直接使用CPAN 来安装模块 $ perl -MCPAN ...

  2. mooc-IDEA 快速通过mapper定位到XML

    intellij 快速通过mapper定位到XML 方法一:在线安装Mybatis插件 安装完毕,重启IDEA生效! =>Mapper文件效果 点击向下键头即可定位到XML文件中的具体SQL = ...

  3. 淘宝(阿里百川)手机客户端开发日记第十篇 阿里百川服务器环境介绍之API文档的快速链接(四)

    个人感觉比较重要的快速链接: http://open.taobao.com/doc/detail.htm?id=102513 http://open.taobao.com/doc/detail.htm ...

  4. eclipse中安装XML editor Rinzo

    eclipse中安装XML editor Rinzo  1. 较高版本的eclipse可以通过 Help--Market 搜索 Rinzo,然后安装 2. 第1种方法如果不行,尝试下面的方法 (1)从 ...

  5. [转] Spark快速入门指南 – Spark安装与基础使用

    [From] https://blog.csdn.net/w405722907/article/details/77943331 Spark快速入门指南 – Spark安装与基础使用 2017年09月 ...

  6. Bioconductor软件安装与升级

    1 安装工具Bioc的软件包不能使用直接install.packages函数,它有自己的安装工具,使用下面的代码: source("https://bioconductor.org/bioc ...

  7. 快速掌握Nginx(一) —— 安装Nginx和简单配置虚拟主机

    Nginx安装和简单配置虚拟主机 1 Nginx简介 Nginx是近几年最火热的http.反向代理服务器,百度阿里等互联网公司也都在使用Nginx,它也可以用作邮件代理服务器.TCP/UDP代理服务器 ...

  8. Win10 UEFI +Ghost +intel快速启动 新法完美安装

    http://tieba.baidu.com/p/4767004289?qq-pf-to=pcqq.c2c Win10 如果主板不用Bios 而用UEFI引导启动,速度快,界面好.现在一般都用win1 ...

  9. WordPress友情链接插件的安装

    插件:link manager 这样就安装成功! 在外观小工具里 把右边即可 这样在前台页面上就可看见添加的友情链接了!!!

随机推荐

  1. oracle 企业管理器及无线网环境下配置方法

    注意: oracle em 的访问地址在 D:\oracle\product\11.2.0\dbhome_1\install 下的文件里. 如果在windows 安装oracle,并且在本地访问,or ...

  2. 读写JSON作配置文件

    个人不太喜欢XML,于是找了JSON来做配置,JSON虽然有很多引号,但这种key-value的形式,非常符合我的思维,就像是一个萝卜一个坑.最近在读写JSON文件,需要注意两个问题. 中文乱码: 直 ...

  3. javascript中return的作用

    这里面的return含有一些细节知识: 例如:onClick='return add_onclick()'与 onClick='add_onclick()'的区别 JAVASCRIPT在事件中调用函数 ...

  4. Python入门-模块1(模块导入与time模块)

    ---恢复内容开始--- 模块 一.模块分类: 模块分为三种: 1.内置模块:Python自带的标准模块(可使用help('modules’)查看Python自带模块列表) 2.第三方开源模块:可以通 ...

  5. [转]Centos7下面配置静态IP

    修改网卡配置文件(操作前先备份一下该文件),/etc/sysconfig/network-scripts/ifcfg-enp0s3 ,如下: TYPE=Ethernet BOOTPROTO=stati ...

  6. 原生JavaScript可以干那些事情

    1.原生JavaScript实现字符串长度截取 function cutstr(str, len) { var temp; var icount = 0; var patrn = /[^\x00-\x ...

  7. 【收集】Python 微优化

    1. 第二种方式可以节省寻找result的append属性的时间, 但会降低代码可读性和可维护性 # The way we're used to seeing it: result.append(&q ...

  8. SQL语句.md

    数据库操作 create mysql> create database study_2; Query OK, 1 row affected (0.00 sec) mysql> show c ...

  9. python第六课——判断结构

    1.判断结构 格式三: ① if 条件表达式1: 语句块1 elif 条件表达式2: 语句块2 elif 条件表达式3: 语句块3 elif 条件表达式y: 语句块y else: 语句块z ② 执行流 ...

  10. BZOJ4571:[SCOI2016]美味(主席树,贪心)

    Description 一家餐厅有 n 道菜,编号 1...n ,大家对第 i 道菜的评价值为 ai(1≤i≤n).有 m 位顾客,第 i 位顾客的期望值为 bi,而他的偏好值为 xi . 因此,第 ...