John Blischak
2013-Jun-13 19:41 UTC
[R-sig-Debian] Cannot install XML package with R 3.0 and Ubuntu 12.04
Hi, 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 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> . Is there a way to solve this? Thanks in advance! John P.S. In case it could be helpful, here is my session info:> sessionInfo()R version 3.0.1 (2013-05-16) Platform: x86_64-pc-linux-gnu (64-bit) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 [4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=C LC_NAME=C LC_ADDRESS=C [10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_3.0.1 [[alternative HTML version deleted]]
Michael Rutter
2013-Jun-13 20:42 UTC
[R-sig-Debian] Cannot install XML package with R 3.0 and Ubuntu 12.04
On 06/13/2013 03:41 PM, John Blischak wrote:> Hi, > > 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 > 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> > . > > Is there a way to solve this? Thanks in advance! > > John >John, In about two hours (around 6:30 EDT), r-cran-xml should be available on c2d4u, my bigger PPA of R packages. Here is the link: https://launchpad.net/~marutter/+archive/c2d4u. For some reason, xml was one of the packages that didn't get updated in in the move to R 3.0. I have updated the new packages and they will take about two hours to build. Hope that helps, Michael -- Dr. Michael A. Rutter School of Science Penn State Erie, The Behrend College 4205 College Drive Erie, PA 16563 http://math.bd.psu.edu/faculty/rutter mar36 at psu.edu
Dirk Eddelbuettel
2013-Jun-15 11:48 UTC
[R-sig-Debian] Cannot install XML package with R 3.0 and Ubuntu 12.04
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