我无法安装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’
答案 0 :(得分:2)
更好的是:sudo apt-get install r-cran-xml
答案 1 :(得分:0)
sudo apt-get install libxml2-dev
它应该在那之后工作......