当我尝试在RStudio服务器上安装xml2时,出现以下错误:
xml2_url.cpp: In function ‘Rcpp::List url_parse(Rcpp::CharacterVector)’:
xml2_url.cpp:85: error: ‘struct _xmlURI’ has no member named ‘query_raw’
xml2_url.cpp:85: error: ‘struct _xmlURI’ has no member named ‘query_raw’
make: *** [xml2_url.o] Error 1
ERROR: compilation failed for package ‘xml2’
我的会话信息是
> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] devtools_1.8.0 digest_0.6.8 git2r_0.10.1 grid_3.1.1 httr_0.6.1 memoise_0.2.1 RCurl_1.95-4.3 rversions_1.0.0 stringr_0.6.2
[10] tools_3.1.1 XML_3.98-1.1
xml2 R-package完美地安装在我的macbook air ...