[R-sig-Debian] Cannot install XML package with R 3.0 and Ubuntu 12.04

Dirk Eddelbuettel edd at debian.org
Sat Jun 15 13:48:15 CEST 2013


John,

On 13 June 2013 at 14:41, John Blischak wrote:
| I am unable to install the R package XML using R 3.0.1 on Ubuntu 12.04 LTS
| (64-bit). After the installation failed using install.packages, I followed

You did not detail this sufficiently, but installation from _source_
presumably failed because you did not have all the build-dependencies.

In this case where are pre-build _binary_ exists, you can use the
metainformation for the _binary_ package to build the _source_ package:

    sudo apt-get build-dep r-cran-xml

| previous directions for installing R packages on Ubuntu
| (R-SIG-Debian<http://grokbase.com/t/r/r-sig-debian/127nwwez27/package-xml-does-not-load-in-r-2-15-1>,
| StackOverflow<http://stackoverflow.com/questions/7765429/unable-to-install-r-package-in-ubuntu-11-04>)
| by running sudo apt-get install r-cran-xml. However, this is not usable
| with R 3.0, and update.packages(oldpkgs = 'XML') failed as well. Lastly, it
| is not available on the RutteR
| PPA<https://launchpad.net/~marutter/+archive/rrutter/+index?batch=75&direction=backwards&start=600>

As I understand it, all these were fraught by the 'R packages from 2.15
cannot run under 3.0 issue'; with the last one being a bug in Michael's setup
he has since addressed.

Cheers, Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



More information about the R-SIG-Debian mailing list