> install.packages("XML2R")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
also installing the dependencies ‘XML’, ‘RCurl’
essai de l'URL 'http://cran.rstudio.com/src/contrib/XML_3.98-1.1.tar.gz'
Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
URL ouverte
==================================================
downloaded 1.5 Mb
essai de l'URL 'http://cran.rstudio.com/src/contrib/RCurl_1.95-4.1.tar.gz'
Content type 'application/x-gzip' length 870915 bytes (850 Kb)
URL ouverte
==================================================
downloaded 850 Kb
essai de l'URL 'http://cran.rstudio.com/src/contrib/XML2R_0.0.5.tar.gz'
Content type 'application/x-gzip' length 8829 bytes
URL ouverte
==================================================
downloaded 8829 bytes
* installing *source* package ‘XML’ ...
** package ‘XML’ correctement décompressé et sommes MD5 vérifiées
checking for gcc... gcc
checking for C compiler default output file name...
rm: cannot remove `a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/usr/local/lib/R/site-library/XML’
Warning in install.packages :
installation of package ‘XML’ had non-zero exit status
* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ correctement décompressé et sommes MD5 vérifiées
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/usr/local/lib/R/site-library/RCurl’
Warning in install.packages :
installation of package ‘RCurl’ had non-zero exit status
ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘XML2R’
* removing ‘/usr/local/lib/R/site-library/XML2R’
Warning in install.packages :
installation of package ‘XML2R’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpeH8dJP/downloaded_packages’
> library(XML2R)
Erreur dans library(XML2R) : aucun package nommé ‘XML2R’ n'est trouvé
Partager