[R] Problem installing RGTK2 on ubuntu 7.04

Andrew Muller mullera at mcmaster.ca
Sat Jun 30 05:11:11 CEST 2007


Hello, all

I am trying to install RGTK2 on my Ubuntu 7.04 system. The installation
fails with a message that RGtk2 requires GTK 2.8. As far as I can tell I
have GTK+ 2.10.11 installed. Can anyone suggest a way to proceed? 

Thanks very much. 

Here is the failed installation:

> install.packages("RGtk2")
Warning in install.packages("RGtk2") : argument 'lib' is missing:
using /usr/local/lib/R/site-library
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://probability.ca/cran/src/contrib/RGtk2_2.10.11.tar.gz'
Content type 'application/x-tar' length 2329776 bytes
opened URL
==================================================
downloaded 2275Kb

* Installing *source* package 'RGtk2' ...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... configure: error: GTK version 2.8.0 required
ERROR: configuration failed for package 'RGtk2'
** Removing '/usr/local/lib/R/site-library/RGtk2'

The downloaded packages are in
        /tmp/RtmpTMtchC/downloaded_packages
Warning message:
installation of package 'RGtk2' had non-zero exit status in:
install.packages("RGtk2") 
> 

I am using  R version 2.4.1 (2006-12-18) on a Ubuntu 7.04 system

mullera at happy:~/sandbox/R$ uname -a
Linux happy 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
GNU/Linux

Andrew Muller
McMaster University/Economics
Hamilton, Ontario, Canada



More information about the R-help mailing list