[R-SIG-Mac] Unable to install package RGtk2

David Winsemius dwinsemius at comcast.net
Sat Jul 4 21:56:01 CEST 2009

Many thanks to Simon for clearing the way for a successful  
installation of rgl. Moving the existing freetypelib.dylib "out of the  
way" allowed compilation to proceed.

My other difficulty has been installing RGtk2. Using the Package  
Installer in the 64 bit GUI and a fresh installation of R 2.9.1 is see  
this response:

trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/RGtk2_2.12.13.tar.gz'
Content type 'application/x-gzip' length 2205209 bytes (2.1 Mb)
opened URL
downloaded 2.1 Mb

* Installing *source* package ‘RGtk2’ ...
checking for pkg-config... no                         # How does one  
fix a missing pkg-config?
checking for LIBGLADE... configure: WARNING: libglade not found      #  
or a missing libglade?
checking for INTROSPECTION... checking for GTK... configure: error:  
GTK version 2.8.0 required
ERROR: configuration failed for package ‘RGtk2’
* Removing ‘/Library/Frameworks/R.framework/Versions/2.9/Resources/ 

The downloaded packages are in
Updating HTML index of packages in '.Library'

Looking at Library/Frameworks/GTK+.framework/ in the Finder view (or  
looking at info.plist in the Current folder), it appears that I have  
version 2.14.X11 (or 2.14.3) of GTK+ installed. There is also a ../ 
Gtk.framework/ folder.

 > sessionInfo()
R version 2.9.1 Patched (2009-07-04 r48897)


attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] rgl_0.84           Matrix_0.999375-29 lattice_0.17-25     

loaded via a namespace (and not attached):
[1] grid_2.9.1  tools_2.9.1
Warning message:
In install.packages(c("RGtk2"), lib = .libPaths()[1], contriburl =  
contrib.url(getOption("repos"),  :
   installation of package 'RGtk2' had non-zero exit status

David Winsemius

More information about the R-SIG-Mac mailing list