installieren.Pakete("devtools") auf R 3.0.2 scheitert in Ubuntu 14.04

Ich versuche zu installieren die R 3.0.2 devtools - Paket auf Ubuntu 14.04 wie folgt:

install.packages("devtools")

Bekomme ich folgende Ergebnisse:

Installing package into ‘/home/jim/R/x86_64-pc-linux-gnu-library/3.0(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning: dependency ‘xml2’ is not available
also installing the dependency ‘rversions’

trying URL 'http://cran.rstudio.com/src/contrib/rversions_1.0.1.tar.gz'
Content type 'application/x-gzip' length 4624 bytes
opened URL
==================================================
downloaded 4624 bytes

trying URL 'http://cran.rstudio.com/src/contrib/devtools_1.8.0.tar.gz'
Content type 'application/x-gzip' length 141487 bytes (138 Kb)
opened URL
==================================================
downloaded 138 Kb

ERROR: dependency ‘xml2’ is not available for package ‘rversions’
* removing ‘/home/jim/R/x86_64-pc-linux-gnu-library/3.0/rversions’
ERROR: dependency ‘rversions’ is not available for package ‘devtools’
* removing ‘/home/jim/R/x86_64-pc-linux-gnu-library/3.0/devtools’

The downloaded source packages are in/tmp/RtmpmDzsRJ/downloaded_packages’
Warning messages:
1: In install.packages("devtools") :
  installation of package ‘rversions’ had non-zero exit status
2: In install.packages("devtools") :
  installation of package ‘devtools’ had non-zero exit status

Scheint es eine Abhängigkeit von einem Paket namens xml2. Weiß jemand, wo finde ich dieses Paket und wie kann ich es installieren.

Habe ich bereits installiert die folgenden:

sudo apt-get install libxml2-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libcurl4-gnutls-dev
sudo apt-get install curl

InformationsquelleAutor der Frage Jim O'Brien | 2015-06-12

Schreibe einen Kommentar