简体   繁体   中英

Installing xml2 on CENTOS 6.9 x86_64 error

I get the following when I try

install.packages("xml2") bash: syntax error near unexpected token `"xml2"'

or devtools::install_github("hadley/xml2") bash: syntax error near unexpected token `"hadley/xml2"'

I have installed R version 3.3.3 (2017-03-06) -- "Another Canoe" Copyright (C) 2017 The R Foundation for Statistical Computing Platform: x86_64-redhat-linux-gnu (64-bit)

Do you mean the libxml2? If so you need to insatll first the EPEL repository and the libxml2 via yum.

Please follow this page: https://www.google.at/amp/sharadchhetri.com/2014/05/24/how-to-install-libxml2-and-libxslt-packages-on-centos-6-5/amp/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM