On 12 February 2017 at 12:28, Jeroen Ooms wrote:
| On Mon, Dec 19, 2016 at 2:27 PM, Terje Jørgensen <ter...@imr.no> wrote:
| > Hi,
| >
| > I am unable to install tibble, a required package for ggplot2 in R. I am
| > running R (version 3.3.2 ) in RStudio (version 1.0.44). My OS is ubuntu
| > 14.04 (64 bits).
| 
| I was able to reproduce this problem. What happened is that you
| installed "r-cran-rcpp" from the ubuntu repositories, which is a few
| years old, and not compatible with the cran version of 'tibble'. You
| should either reinstall Rcpp from CRAN, or, install the development
| version of 'tibble' which resolves the issue.

Better still, use the repositories maintained by Michael to get a _wide
variety_ of _current_ packages:

1. Over 3400 packages from CRAN ready to use as binaries:

   root@092af40cc094:/# apt-cache search r-cran- | wc -l
   3411
   root@092af40cc094:/# 

2. Obviously a current Rcpp (as well as the distro, here 14.04, one)

   root@092af40cc094:/# apt-cache policy r-cran-rcpp
   r-cran-rcpp:
     Installed: (none)
     Candidate: 0.12.9-1~ubuntu14.04.1~ppa1
     Version table:
        0.12.9-1~ubuntu14.04.1~ppa1 0
           500 http://ppa.launchpad.net/marutter/c2d4u/ubuntu/ trusty/main 
amd64 Packages
        0.11.0-1 0
           500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
   root@092af40cc094:/#

   And if you're beholden to the whateveritscalledtodayverse, it it there too:

   root@092af40cc094:/# apt-cache policy r-cran-tibble
   r-cran-tibble:
     Installed: (none)
     Candidate: 1.2-1cran1ppa0trusty0
     Version table:
        1.2-1cran1ppa0trusty0 0
           500 http://ppa.launchpad.net/marutter/c2d4u/ubuntu/ trusty/main 
amd64 Packages
   root@092af40cc094:/# 


3. Trivial to use:

   root@092af40cc094:/# cat /etc/apt/sources.list.d/marutter-*list
   deb http://ppa.launchpad.net/marutter/c2d4u/ubuntu trusty main
   # deb-src http://ppa.launchpad.net/marutter/c2d4u/ubuntu trusty main
   deb http://ppa.launchpad.net/marutter/rrutter/ubuntu trusty main
   # deb-src http://ppa.launchpad.net/marutter/rrutter/ubuntu trusty main
   root@092af40cc094:/#

4. Factual support for this email brought to you by a convenient Docker 
container:

   https://hub.docker.com/r/rocker/r-apt/
   https://github.com/rocker-org/rocker/tree/master/r-apt

   which exists for all relevant flavours.

Cheers, Dirk


-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to