[R-sig-Debian] errors from update.packages()
Michael Friendly
friendly at yorku.ca
Mon Jul 12 17:15:04 CEST 2010
Running R.2.11.1, debian linux, I tried to update.packages as root
within R and get errors
for cairoDevice and latticeExtra I don't know how to fix.
For cairoDevice, I don't know what gtk+2.0 is;
for latticeExtra, I'm surprised that R cannot find RColorBrewer built
for R 2.10+
What to do?
> old.packages()
Package LibPath Installed Built
cairoDevice "cairoDevice" "/usr/lib/R/site-library" "2.8" "2.7.0"
latticeExtra "latticeExtra" "/usr/lib/R/site-library" "0.4-1" "2.7.0"
ReposVer Repository
cairoDevice "2.13" "http://probability.ca/cran/src/contrib"
latticeExtra "0.6-11" "http://probability.ca/cran/src/contrib"
> update.packages()
cairoDevice :
Version 2.8 installed in /usr/lib/R/site-library
Version 2.13 available at http://probability.ca/cran
Update (y/N/c)? y
latticeExtra :
Version 0.4-1 installed in /usr/lib/R/site-library
Version 0.6-11 available at http://probability.ca/cran
Update (y/N/c)? y
trying URL 'http://probability.ca/cran/src/contrib/cairoDevice_2.13.tar.gz'
Content type 'application/x-gzip' length 37983 bytes (37 Kb)
opened URL
==================================================
downloaded 37 Kb
trying URL
'http://probability.ca/cran/src/contrib/latticeExtra_0.6-11.tar.gz'
Content type 'application/x-gzip' length 1873863 bytes (1.8 Mb)
opened URL
==================================================
downloaded 1.8 Mb
* installing *source* package 'cairoDevice' ...
checking for pkg-config... pkg-config
ERROR: gtk+2.0 not found by pkg-config.
ERROR: configuration failed for package 'cairoDevice'
* removing '/usr/lib/R/site-library/cairoDevice'
* restoring previous '/usr/lib/R/site-library/cairoDevice'
* installing *source* package 'latticeExtra' ...
** R
** data
** inst
** preparing package for lazy loading
Error : package 'RColorBrewer' was built before R 2.10.0: please
re-install it
ERROR: lazy loading failed for package 'latticeExtra'
* removing '/usr/lib/R/site-library/latticeExtra'
* restoring previous '/usr/lib/R/site-library/latticeExtra'
The downloaded packages are in
'/tmp/Rtmplccsxl/downloaded_packages'
Warning messages:
1: In install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
installation of package 'cairoDevice' had non-zero exit status
2: In install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
installation of package 'latticeExtra' had non-zero exit status
>
--
Michael Friendly Email: friendly at yorku.ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street http://datavis.ca
Toronto, ONT M3J 1P3 CANADA
More information about the R-SIG-Debian
mailing list