[R-sig-Debian] Ubuntu Lucid, R 2.14.2, and ggplot2

Scott Smith ssmith at genome.wustl.edu
Thu Mar 22 20:02:03 CET 2012


I've just updated to the latest R (2.14.2) on my Ubuntu Lucid box, and now the ggplot2 installed as a .deb package fails to work.

$ R -e 'library(ggplot2)'
Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) : 
  package ‘proto’ does not have a NAMESPACE and should be re-installed
Calls: library -> .getRequiredPackages2 -> library
Execution halted

Here is what I did to ensure the packages were up-to-date:

$ sudo apt-get update
$ sudo apt-get install r-base r-base-core r-cran-ggplot2 r-cran-proto

Here is what my sources list and dpkg list looks like:

$ cat /etc/apt/sources.list.d/r-cran.list 
deb http://cran.wustl.edu/bin/linux/ubuntu lucid/

$ dpkg -l r-base r-base-core r-cran-ggplot2 r-cran-proto
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version                   Description
+++-=========================-=========================-==================================================================
ii  r-base                    2.14.2-3lucid0            GNU R statistical computation and graphics system
ii  r-base-core               2.14.2-3lucid0            GNU R core of statistical computation and graphics system
ii  r-cran-ggplot2            0.8.9-1cran1              GNU R package "An implementation of the Grammar of
ii  r-cran-proto              0.3-9-1cran1              GNU R package "Prototype object-based programming"



More information about the R-SIG-Debian mailing list