安装odfWeave会挂起“检查xml2-config ......”

时间:2010-03-23 15:50:53

标签: r

我无法安装odfWeave - 看起来问题出在包XML上,这就是“检查xml2-config ...”然后无法找到它。 :

checking for xml2-config... no Cannot find xml2-config 
ERROR: configuration failed for package ‘XML’
* removing ‘/home/andreas/R/i486-pc-linux-gnu-library/2.10/XML’
* installing *source* package ‘odfWeave’ ...
** R
** inst
** preparing package for lazy loading Warning in library(pkg, character.only
= TRUE, logical.return = TRUE, lib.loc = lib.loc) :   there is no package called 'XML' Error : package 'XML'
could not be loaded ERROR: lazy
loading failed for package ‘odfWeave’
* removing ‘/home/andreas/R/i486-pc-linux-gnu-library/2.10/odfWeave’

2 个答案:

答案 0 :(得分:2)

更好的是:sudo apt-get install r-cran-xml

答案 1 :(得分:0)

sudo apt-get install libxml2-dev

它应该在那之后工作......