Ubuntu relies on Rcurl and XML to install many new packages using Bioconductor, but these two packages often fail to install correctly.
Directly in R type installation ' Rcurl ' may encounter problems with cannot find curl-config, resulting in dependencies that are not established and the installation is unsuccessful. The solution is to run the terminal, Apt-get install Libcurl4-gnutls-dev. Then run r,install.packages (' Rcurl '). Rcurl problems can refer to http://cos.name/cn/topic/108303/https://stat.ethz.ch/pipermail/r-sig-debian/2011-April/001576.html The second link mentions that the so-called xxx-config problem often needs to be solved by installing the corresponding Xxx-dev package, and you can get some hints by searching the package database for Ubuntu. But Xxx-dev packages may have multiple, You need to install the appropriate-dev package based on experience or through Google.
Similarly, the xml-config problem, the solution is the same as the Apt-get install Xxx-dev such a package. There is a need to install Libxml2-dev This issue has also been mentioned, see http://blog.sina.com.cn/s/ Blog_86c8fc120101fq04.html
After the two packages of Rcurl and XML are resolved, the other basic is no problem.
The specific resolution steps are as follows:
Open the terminal terminal run the following command, install-dev package, resolve curl-config and xml-config issues
sudo apt-get install
sudo apt-get install Libxml2-dev